diff options
author | Jaehoon Chung | 2012-04-23 02:36:25 +0000 |
---|---|---|
committer | Andy Fleming | 2012-05-08 18:02:22 -0500 |
commit | 3a6383207be3f71b39004e64464a6e99290b16fa (patch) | |
tree | 09c120cb9778db6c51266aeccb38df8be505b1be /include/sdhci.h | |
parent | e7205905e7b9a483c412eefd2aea290a7eee567b (diff) |
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>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 800f9d9c073..a2415ba8fc9 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -216,6 +216,7 @@ */ #define SDHCI_QUIRK_32BIT_DMA_ADDR (1 << 0) #define SDHCI_QUIRK_REG32_RW (1 << 1) +#define SDHCI_QUIRK_BROKEN_R1B (1 << 2) /* to make gcc happy */ struct sdhci_host; |