Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196694
b: refs/heads/master
c: 1cd2296
h: refs/heads/master
v: v3
  • Loading branch information
San Mehat authored and Daniel Walker committed Mar 18, 2010
1 parent 1fb5959 commit 8366f68
Show file tree
Hide file tree
Showing 2 changed files with 11 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: d0719e59f4ad96616f7c02ef0201667e41778c88
refs/heads/master: 1cd2296909e77702c68021ede9d87a1d967a6a99
12 changes: 10 additions & 2 deletions trunk/drivers/mmc/host/msm_sdcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ msmsdcc_spin_on_status(struct msmsdcc_host *host, uint32_t mask, int maxspin)
return -ETIMEDOUT;
}

static int
static irqreturn_t
msmsdcc_pio_irq(int irq, void *dev_id)
{
struct msmsdcc_host *host = dev_id;
Expand Down Expand Up @@ -801,7 +801,6 @@ msmsdcc_irq(int irq, void *dev_id)
spin_lock(&host->lock);

do {
struct mmc_data *data;
status = msmsdcc_readl(host, MMCISTATUS);
status &= (msmsdcc_readl(host, MMCIMASK0) |
MCI_DATABLOCKENDMASK);
Expand Down Expand Up @@ -1145,6 +1144,15 @@ msmsdcc_probe(struct platform_device *pdev)
host->dmares = dmares;
spin_lock_init(&host->lock);

#ifdef CONFIG_MMC_EMBEDDED_SDIO
if (plat->embedded_sdio)
mmc_set_embedded_sdio_data(mmc,
&plat->embedded_sdio->cis,
&plat->embedded_sdio->cccr,
plat->embedded_sdio->funcs,
plat->embedded_sdio->num_funcs);
#endif

/*
* Setup DMA
*/
Expand Down

0 comments on commit 8366f68

Please sign in to comment.