mmc: fsl_esdhc: fix check_and_invalidate_dcache_range function
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 12 May 2016 11:12:58 +0000 (19:12 +0800)
committerYork Sun <york.sun@nxp.com>
Fri, 3 Jun 2016 21:12:05 +0000 (14:12 -0700)
commitcc634e283659096e792f9515e6a9268b58179954
tree2d67373f2467bd0e6f4a7f61e4648dcc0bbe48c7
parente04f9d0c2f5dec275eb550317c6bad2d8bbfb209
mmc: fsl_esdhc: fix check_and_invalidate_dcache_range function

In function check_and_invalidate_dcache_range(), there are incorrect
start address and end address of the dcache range calculated for
Layerscape platforms. This patch is to fix this issue.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/mmc/fsl_esdhc.c