Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221059
b: refs/heads/master
c: 37e0172
h: refs/heads/master
i:
  221057: aaf157b
  221055: d49e8b6
v: v3
  • Loading branch information
Jongpill Lee authored and Kukjin Kim committed Oct 20, 2010
1 parent ae11b8e commit 3c97f71
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 228ef9872b5c7e6fdb67a7a04547b33284242940
refs/heads/master: 37e017292f56f3d39fb497d7fc9038967095e230
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-s5pv310/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ static struct clk clk_sclk_usbphy1 = {
.id = -1,
};

static int s5pv310_clksrc_mask_top_ctrl(struct clk *clk, int enable)
{
return s5p_gatectrl(S5P_CLKSRC_MASK_TOP, clk, enable);
}

static int s5pv310_clksrc_mask_peril0_ctrl(struct clk *clk, int enable)
{
return s5p_gatectrl(S5P_CLKSRC_MASK_PERIL0, clk, enable);
Expand Down Expand Up @@ -298,6 +303,8 @@ static struct clksrc_clk clk_vpllsrc = {
.clk = {
.name = "vpll_src",
.id = -1,
.enable = s5pv310_clksrc_mask_top_ctrl,
.ctrlbit = (1 << 0),
},
.sources = &clkset_vpllsrc,
.reg_src = { .reg = S5P_CLKSRC_TOP1, .shift = 0, .size = 1 },
Expand Down

0 comments on commit 3c97f71

Please sign in to comment.