Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335803
b: refs/heads/master
c: 9addf6a
h: refs/heads/master
i:
  335801: 1c33598
  335799: 1f2f441
v: v3
  • Loading branch information
Vipul Kumar Samar authored and Jeff Garzik committed Nov 16, 2012
1 parent 56b503e commit 18760ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60817a680b1bd3341b6909fab7d8a1fcc3a78369
refs/heads/master: 9addf6afeef0f2c9a1fef880e2dbe633d15a89bd
6 changes: 6 additions & 0 deletions trunk/drivers/ata/pata_arasan_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ static int cf_init(struct arasan_cf_dev *acdev)
return ret;
}

ret = clk_set_rate(acdev->clk, 166000000);
if (ret) {
dev_warn(acdev->host->dev, "clock set rate failed");
return ret;
}

spin_lock_irqsave(&acdev->host->lock, flags);
/* configure CF interface clock */
writel((pdata->cf_if_clk <= CF_IF_CLK_200M) ? pdata->cf_if_clk :
Expand Down

0 comments on commit 18760ab

Please sign in to comment.