mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00
Table 6-2: CCCR bit Definitions, address 00h. Part E1 SDIO Simplified Specification Version 3.00, Feb. 25, 2011. This patch has been tested with Marvell WLAN device SD8797. Signed-off-by: Bing Zhao <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
f2815f68da
commit
b4625dab2c
2 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ static int sdio_read_cccr(struct mmc_card *card)
|
|||
|
||||
cccr_vsn = data & 0x0f;
|
||||
|
||||
if (cccr_vsn > SDIO_CCCR_REV_1_20) {
|
||||
if (cccr_vsn > SDIO_CCCR_REV_3_00) {
|
||||
pr_err("%s: unrecognised CCCR structure version %d\n",
|
||||
mmc_hostname(card->host), cccr_vsn);
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue