mmc: dw_mmc: Fixed sdio interrupt mask bit setting bug
commit705ad0472bd55fa38e6c594b2d6318c31e86068a
authorKyoungil Kim <ki0351.kim@samsung.com>
Mon, 14 May 2012 08:38:48 +0000 (14 17:38 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 17 May 2012 12:34:48 +0000 (17 08:34 -0400)
tree2b6bff273156a1dd55b43d625bc1ab4a8a44c4ff
parent680f1b5b216af1ae051bdf237e3ea47ba9124876
mmc: dw_mmc: Fixed sdio interrupt mask bit setting bug

The sdio interrupt mask bits are arranged in [31:16].
(1 << SDMMC_INT_SDIO(slot->id))) does 16 bits left shift twice.
So this patch changes to do 16 bits left shift only one time.

Signed-off-by: Kyoungil Kim <ki0351.kim@samsung.com>
Acked-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