aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2012-01-11 09:28:21 +0000
committerChris Ball <cjb@laptop.org>2012-01-12 15:17:16 -0500
commit8234e86960b07f5a3cf9973de3f9ba9a50450464 (patch)
treeeea2ad109fe9d5cec12fd224e73973c49934fce3 /lib/dma-debug.c
parentmmc: host: Adds support for eMMC 4.5 HS200 mode (diff)
downloadlinux-rng-8234e86960b07f5a3cf9973de3f9ba9a50450464.tar.xz
linux-rng-8234e86960b07f5a3cf9973de3f9ba9a50450464.zip
mmc: dw_mmc: miscaculated the fifo-depth with wrong bit operation
In FIFOTH register, the RX_WMark field (bits[27:16]) defaults to FIFO_DEPTH - 1. When reading it, bits[26:16] were being used, so fix it to use the mask 0xfff instead of 0x7ff. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions