Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332800
b: refs/heads/master
c: c5e4a2e
h: refs/heads/master
v: v3
  • Loading branch information
Sonic Zhang authored and Chris Ball committed Sep 4, 2012
1 parent 839ad0a commit c5dcc7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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: 4ffdcf0469f1e7e47476ee410e8dfbc6aba61b65
refs/heads/master: c5e4a2e4c6fe47d88a1b172e54ed47a463f0ce45
15 changes: 0 additions & 15 deletions trunk/drivers/mmc/host/bfin_sdh.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,6 @@ static int sdh_suspend(struct platform_device *dev, pm_message_t state)
if (mmc)
ret = mmc_suspend_host(mmc);

#ifndef RSI_BLKSZ
bfin_write_SDH_PWR_CTL(bfin_read_SDH_PWR_CTL() & ~PWR_ON);
#else
bfin_write_SDH_CFG(bfin_read_SDH_CFG() & ~PWR_ON);
#endif
peripheral_free_list(drv_data->pin_req);

return ret;
Expand All @@ -669,16 +664,6 @@ static int sdh_resume(struct platform_device *dev)
/* Secure Digital Host shares DMA with Nand controller */
bfin_write_DMAC1_PERIMUX(bfin_read_DMAC1_PERIMUX() | 0x1);
#endif
#ifndef RSI_BLKSZ
bfin_write_SDH_PWR_CTL(bfin_read_SDH_PWR_CTL() | PWR_ON);
bfin_write_SDH_CFG(bfin_read_SDH_CFG() | CLKS_EN);
#else
bfin_write_SDH_CFG(bfin_read_SDH_CFG() | CLKS_EN | PWR_ON);
#endif
SSYNC();

bfin_write_SDH_CFG((bfin_read_SDH_CFG() & 0x1F) | (PUP_SDDAT | PUP_SDDAT3));
SSYNC();

if (mmc)
ret = mmc_resume_host(mmc);
Expand Down

0 comments on commit c5dcc7e

Please sign in to comment.