Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254087
b: refs/heads/master
c: 7d8b4c2
h: refs/heads/master
i:
  254085: 5b3f524
  254083: b1e253f
  254079: c1f2072
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Jun 25, 2011
1 parent 98827c2 commit 4697ef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a9120c33ffbb0b3448d833dae392edc90d6cfac2
refs/heads/master: 7d8b4c2a4b73da8e3632603691838ca5b2a8c26d
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/tmio_mmc_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,8 @@ static int tmio_mmc_get_ro(struct mmc_host *mmc)
struct tmio_mmc_host *host = mmc_priv(mmc);
struct tmio_mmc_data *pdata = host->pdata;

return ((pdata->flags & TMIO_MMC_WRPROTECT_DISABLE) ||
!(sd_ctrl_read32(host, CTL_STATUS) & TMIO_STAT_WRPROTECT));
return !((pdata->flags & TMIO_MMC_WRPROTECT_DISABLE) ||
(sd_ctrl_read32(host, CTL_STATUS) & TMIO_STAT_WRPROTECT));
}

static int tmio_mmc_get_cd(struct mmc_host *mmc)
Expand Down

0 comments on commit 4697ef9

Please sign in to comment.