Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332632
b: refs/heads/master
c: 3d05969
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and David Woodhouse committed Jul 6, 2012
1 parent 39ec367 commit 4dc488b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1696e6bc2ae83734e64e206ac99766ea19e9a14e
refs/heads/master: 3d059693f6e0489066a98f455601137fa003df77
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/mxc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,15 +784,15 @@ static void mxc_nand_select_chip_v2(struct mtd_info *mtd, int chip)
if (chip == -1) {
/* Disable the NFC clock */
if (host->clk_act) {
clk_disable(host->clk);
clk_disable_unprepare(host->clk);
host->clk_act = 0;
}
return;
}

if (!host->clk_act) {
/* Enable the NFC clock */
clk_enable(host->clk);
clk_prepare_enable(host->clk);
host->clk_act = 1;
}

Expand Down

0 comments on commit 4dc488b

Please sign in to comment.