Skip to content
Snippets Groups Projects
Commit 4f665cb6 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Chris Ball
Browse files

mmc: fix mmc_app_send_scr() for dma transfer


This patch is based on the commit "af517150":

   * Bugfix to that mmc_send_cxd_data() code:  dma-to-stack is
     unsafe/nonportable, so kmalloc a bounce buffer instead.

The driver may invalidate the mmc_card->csd when host driver uses dma.
So this subroutine also needs a kmalloc buffer.

Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 58ac8177
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment