mmc: fix mmc_davinci_xfer_done() function
In mmc_davinci_xfer_done() function data direction variable is being modified before the call to davinci_abort_dma(). But inside the davinci_abort_dma() function data direction variable is being checked to select the channel to abort. Without this patch, davinci_abort_dma() function always aborts, TX channel dma. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Acked-by: Vipin Bhandari <vipin.bhandari@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Showing
Please register or sign in to comment