]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dw_mmc: Fix mask in IDMAC_SET_BUFFER1_SIZE macro
authorShashidhar Hiremath <shashidharh@vayavyalabs.com>
Fri, 29 Jul 2011 12:49:50 +0000 (08:49 -0400)
committerChris Ball <cjb@laptop.org>
Fri, 29 Jul 2011 12:49:50 +0000 (08:49 -0400)
commitdd99865c21e3b2a1ba330c15b4e12778e551940c
treebfd0eae564f8bb342ed903d857cdc8f956c91ba2
parent2d96c6593989a7fad0cecb78520fce6c75de0025
mmc: dw_mmc: Fix mask in IDMAC_SET_BUFFER1_SIZE macro

The mask used inside this macro was assuming Buffer_Size1's [BS1's]
width to be 14 bits, it is actually 13 bits.  Modify masks used in
IDMAC_SET_BUFFER1_SIZE such that they use only 13 bits instead of
current 14.

Signed-off-by: Shashidhar Hiremath <shashidharh@vayavyalabs.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c