Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308231
b: refs/heads/master
c: 60178b6
h: refs/heads/master
i:
  308229: b3cb89e
  308227: d30891c
  308223: 0939018
v: v3
  • Loading branch information
Sascha Hauer committed Apr 25, 2012
1 parent 3a55d65 commit 4288726
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: c943740ccd7ccfc7e92c80d194d0a8a80ab7b55c
refs/heads/master: 60178b6329259457013d0e39cbee22aec0230dfb
4 changes: 2 additions & 2 deletions trunk/drivers/w1/masters/mxc_w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static int __devinit mxc_w1_probe(struct platform_device *pdev)
goto failed_ioremap;
}

clk_enable(mdev->clk);
clk_prepare_enable(mdev->clk);
__raw_writeb(mdev->clkdiv, mdev->regs + MXC_W1_TIME_DIVIDER);

mdev->bus_master.data = mdev;
Expand Down Expand Up @@ -178,7 +178,7 @@ static int __devexit mxc_w1_remove(struct platform_device *pdev)

iounmap(mdev->regs);
release_mem_region(res->start, resource_size(res));
clk_disable(mdev->clk);
clk_disable_unprepare(mdev->clk);
clk_put(mdev->clk);

platform_set_drvdata(pdev, NULL);
Expand Down

0 comments on commit 4288726

Please sign in to comment.