Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270304
b: refs/heads/master
c: b4625da
h: refs/heads/master
v: v3
  • Loading branch information
Bing Zhao authored and Chris Ball committed Oct 26, 2011
1 parent 4bb9aa6 commit 53b7094
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2815f68dabbb373fd1c9f0fd4a609d486697c2b
refs/heads/master: b4625dab2c618eb87e177761dda3182b4cfaa604
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/core/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/mmc/sdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@
#define SDIO_CCCR_REV_1_00 0 /* CCCR/FBR Version 1.00 */
#define SDIO_CCCR_REV_1_10 1 /* CCCR/FBR Version 1.10 */
#define SDIO_CCCR_REV_1_20 2 /* CCCR/FBR Version 1.20 */
#define SDIO_CCCR_REV_3_00 3 /* CCCR/FBR Version 3.00 */

#define SDIO_SDIO_REV_1_00 0 /* SDIO Spec Version 1.00 */
#define SDIO_SDIO_REV_1_10 1 /* SDIO Spec Version 1.10 */
#define SDIO_SDIO_REV_1_20 2 /* SDIO Spec Version 1.20 */
#define SDIO_SDIO_REV_2_00 3 /* SDIO Spec Version 2.00 */
#define SDIO_SDIO_REV_3_00 4 /* SDIO Spec Version 3.00 */

#define SDIO_CCCR_SD 0x01

Expand Down

0 comments on commit 53b7094

Please sign in to comment.