Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359895
b: refs/heads/master
c: 290d934
h: refs/heads/master
i:
  359893: 64d2901
  359891: 36dc9ad
  359887: 3e465e1
v: v3
  • Loading branch information
Shawn Guo authored and Chris Ball committed Jan 28, 2013
1 parent 8c71ae0 commit e33bc38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 22c07f36269befbf092d833d2c7cf0e27a3e9d1f
refs/heads/master: 290d934172fd751c26f357a93836d54273f835b1
17 changes: 0 additions & 17 deletions trunk/drivers/mmc/host/sdhci-esdhc-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,6 @@ static u32 esdhc_readl_le(struct sdhci_host *host, int reg)

u32 val = readl(host->ioaddr + reg);

if (unlikely(reg == SDHCI_PRESENT_STATE)) {
/*
* After SDHCI core gets improved to never query
* SDHCI_CARD_PRESENT state in GPIO case, we can
* remove this check.
*/
if (boarddata->cd_type == ESDHC_CD_GPIO)
val &= ~SDHCI_CARD_PRESENT;
}

if (unlikely(reg == SDHCI_CAPABILITIES)) {
/* In FSL esdhc IC module, only bit20 is used to indicate the
* ADMA2 capability of esdhc, but this bit is messed up on
Expand Down Expand Up @@ -192,13 +182,6 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg)
u32 data;

if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) {
if (boarddata->cd_type == ESDHC_CD_GPIO)
/*
* These interrupts won't work with a custom
* card_detect gpio (only applied to mx25/35)
*/
val &= ~(SDHCI_INT_CARD_REMOVE | SDHCI_INT_CARD_INSERT);

if (val & SDHCI_INT_CARD_INT) {
/*
* Clear and then set D3CD bit to avoid missing the
Expand Down

0 comments on commit e33bc38

Please sign in to comment.