Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308328
b: refs/heads/master
c: b60188c
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo committed May 13, 2012
1 parent 74b0fe5 commit 6445967
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: df06bfc724b58d649eef4bf51a953c7aeed9635f
refs/heads/master: b60188c820347040087bfe329f77b286dfd50a7e
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/host/mxs-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ struct mxs_mmc_host {
struct mmc_data *data;

void __iomem *base;
struct resource *dma_res;
int dma_channel;
struct clk *clk;
unsigned int clk_rate;

Expand Down Expand Up @@ -668,7 +668,7 @@ static bool mxs_mmc_dma_filter(struct dma_chan *chan, void *param)
if (!mxs_dma_is_apbh(chan))
return false;

if (chan->chan_id != host->dma_res->start)
if (chan->chan_id != host->dma_channel)
return false;

chan->private = &host->dma_data;
Expand Down Expand Up @@ -719,7 +719,7 @@ static int mxs_mmc_probe(struct platform_device *pdev)

host->devid = pdev->id_entry->driver_data;
host->mmc = mmc;
host->dma_res = dmares;
host->dma_channel = dmares->start;
host->sdio_irq_en = 0;

pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
Expand Down

0 comments on commit 6445967

Please sign in to comment.