diff options
author | Ulf Hansson | 2018-07-16 11:58:21 +0200 |
---|---|---|
committer | Ulf Hansson | 2018-07-16 11:58:21 +0200 |
commit | 8312b97c7c08bd0fc489ee5db809dee9102a289f (patch) | |
tree | 64376c2dd891c7fac1cad77ab71acfe99b04c264 /drivers/mmc | |
parent | d47b0586ab31771e49e6b1af049e09bf33fbe867 (diff) | |
parent | 3b1074bf9817bf43d4da375aa5f4b6c88f1d953e (diff) |
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mxcmmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 75f781c11e89..de4e6e5bf304 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -293,9 +293,10 @@ static void mxcmci_swap_buffers(struct mmc_data *data) int 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); kunmap_atomic(buf); + } } #else static inline void mxcmci_swap_buffers(struct mmc_data *data) {} |