mmc: sdhci: add the quirk for broken r1b response
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 23 Apr 2012 02:36:25 +0000 (02:36 +0000)
committerAndy Fleming <afleming@freescale.com>
Tue, 8 May 2012 23:02:22 +0000 (18:02 -0500)
commit3a6383207be3f71b39004e64464a6e99290b16fa
tree09c120cb9778db6c51266aeccb38df8be505b1be
parente7205905e7b9a483c412eefd2aea290a7eee567b
mmc: sdhci: add the quirk for broken r1b response

When response type is R1b, mask value is added the SDHCI_INT_DAT_END.
but in while(), didn't check that flag.
So sdhci controller didn't work fine.
CMD6 didn't always complete.

So add the quirks for broken r1b response
and add the timeout value to prevent the infinite loop.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Lei Wen<leiwen@marvell.com>
drivers/mmc/sdhci.c
include/sdhci.h