Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137313
b: refs/heads/master
c: b1ad379
h: refs/heads/master
i:
  137311: 3f91a57
v: v3
  • Loading branch information
Russell King authored and Russell King committed Feb 8, 2009
1 parent 29abc40 commit 823d3da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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: cc51c9d444ae1532be6a600c65ac0d3d22472c53
refs/heads/master: b1ad379632327c0722c5c92275c326971da3b948
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap1/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static struct omap_clk omap_clks[] = {
CLK("i2c_omap.1", "fck", &i2c_fck, CK_16XX | CK_1510 | CK_310),
CLK("i2c_omap.1", "ick", &i2c_ick, CK_16XX),
CLK("i2c_omap.1", "ick", &dummy_ck, CK_1510 | CK_310),
CLK("omap_uwire", "fck", &armxor_ck.clk, CK_16XX | CK_1510 | CK_310),
CLK("omap-mcbsp.1", "ick", &dspper_ck, CK_16XX),
CLK("omap-mcbsp.1", "ick", &dummy_ck, CK_1510 | CK_310),
CLK("omap-mcbsp.2", "ick", &armper_ck.clk, CK_16XX),
Expand Down
9 changes: 5 additions & 4 deletions trunk/drivers/spi/omap_uwire.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,11 +506,12 @@ static int __init uwire_probe(struct platform_device *pdev)

dev_set_drvdata(&pdev->dev, uwire);

uwire->ck = clk_get(&pdev->dev, "armxor_ck");
if (!uwire->ck || IS_ERR(uwire->ck)) {
dev_dbg(&pdev->dev, "no mpu_xor_clk ?\n");
uwire->ck = clk_get(&pdev->dev, "fck");
if (IS_ERR(uwire->ck)) {
status = PTR_ERR(uwire->ck);
dev_dbg(&pdev->dev, "no functional clock?\n");
spi_master_put(master);
return -ENODEV;
return status;
}
clk_enable(uwire->ck);

Expand Down

0 comments on commit 823d3da

Please sign in to comment.