Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227205
b: refs/heads/master
c: 7367464
h: refs/heads/master
i:
  227203: d1d0895
v: v3
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Jan 6, 2011
1 parent 6040fe2 commit 5b4bcff
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 025a10a76808cfd9e55dbf965d0f1453e4f8ae84
refs/heads/master: 73674648e9bf3b0a75000b7e97edaac255cd73f7
11 changes: 7 additions & 4 deletions trunk/arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,20 +674,23 @@ static int fsi_hdmi_set_rate(struct device *dev, int rate, int enable)
return -EIO;

ret = __fsi_set_round_rate(fsib_clk, fsib_rate, enable);
clk_put(fsib_clk);
if (ret < 0)
return ret;
goto fsi_set_rate_end;

/* FSI DIV setting */
ret = __fsi_set_round_rate(fdiv_clk, fdiv_rate, enable);
if (ret < 0) {
/* disable FSI B */
if (enable)
__fsi_set_round_rate(fsib_clk, fsib_rate, 0);
return ret;
goto fsi_set_rate_end;
}

return ackmd_bpfmd;
ret = ackmd_bpfmd;

fsi_set_rate_end:
clk_put(fsib_clk);
return ret;
}

static int fsi_set_rate(struct device *dev, int is_porta, int rate, int enable)
Expand Down

0 comments on commit 5b4bcff

Please sign in to comment.