]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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>
Sat, 13 Aug 2011 18:50:24 +0000 (14:50 -0400)
commit9b7bbe1085eb2b0f2d5d81f4116772cb2af497a4
treefb11c59a83dfd6b910df4621961e150b866a776d
parent1ccd4b7bfdcfcc8cc7ffc4a9c11d3ac5b6da8ca0
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