Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184757
b: refs/heads/master
c: bfc110e
h: refs/heads/master
i:
  184755: 806a174
v: v3
  • Loading branch information
Felipe Balbi authored and Tony Lindgren committed Feb 19, 2010
1 parent 9f311d3 commit 5f1aa4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 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: 68499cc5716bbeca16ca8c83ec6e9f04b8dbfacb
refs/heads/master: bfc110ee653724577e635e0feacf29aad4ed6c7f
22 changes: 0 additions & 22 deletions trunk/arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,6 @@ static struct resource musb_resources[] = {
},
};

static int clk_on;

static int musb_set_clock(struct clk *clk, int state)
{
if (state) {
if (clk_on > 0)
return -ENODEV;

clk_enable(clk);
clk_on = 1;
} else {
if (clk_on == 0)
return -ENODEV;

clk_disable(clk);
clk_on = 0;
}

return 0;
}

static struct musb_hdrc_config musb_config = {
.multipoint = 1,
.dyn_fifo = 1,
Expand All @@ -88,7 +67,6 @@ static struct musb_hdrc_platform_data musb_plat = {
.mode = MUSB_PERIPHERAL,
#endif
/* .clock is set dynamically */
.set_clock = musb_set_clock,
.config = &musb_config,

/* REVISIT charge pump on TWL4030 can supply up to
Expand Down

0 comments on commit 5f1aa4e

Please sign in to comment.