Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8312b97c
Commit
8312b97c
authored
Jul 16, 2018
by
Ulf Hansson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into next
parents
d47b0586
3b1074bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/mmc/host/mxcmmc.c
drivers/mmc/host/mxcmmc.c
+2
-1
No files found.
drivers/mmc/host/mxcmmc.c
View file @
8312b97c
...
@@ -293,9 +293,10 @@ static void mxcmci_swap_buffers(struct mmc_data *data)
...
@@ -293,9 +293,10 @@ static void mxcmci_swap_buffers(struct mmc_data *data)
int
i
;
int
i
;
for_each_sg
(
data
->
sg
,
sg
,
data
->
sg_len
,
i
)
{
for_each_sg
(
data
->
sg
,
sg
,
data
->
sg_len
,
i
)
{
void
*
buf
=
kmap_atomic
(
sg_page
(
sg
)
+
sg
->
offset
;
void
*
buf
=
kmap_atomic
(
sg_page
(
sg
)
+
sg
->
offset
)
;
buffer_swap32
(
buf
,
sg
->
length
);
buffer_swap32
(
buf
,
sg
->
length
);
kunmap_atomic
(
buf
);
kunmap_atomic
(
buf
);
}
}
}
#else
#else
static
inline
void
mxcmci_swap_buffers
(
struct
mmc_data
*
data
)
{}
static
inline
void
mxcmci_swap_buffers
(
struct
mmc_data
*
data
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment