Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195366
b: refs/heads/master
c: ca0d445
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed May 20, 2010
1 parent bf6b76a commit a8a83e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: ff927addd62d33ab95cd83208e7db3ff37fdac18
refs/heads/master: ca0d44525060cf852b87c35f64d786b8a2a75c3d
8 changes: 0 additions & 8 deletions trunk/drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ void musb_platform_enable(struct musb *musb)
void musb_platform_disable(struct musb *musb)
{
}
static void omap_vbus_power(struct musb *musb, int is_on, int sleeping)
{
}

static void omap_set_vbus(struct musb *musb, int is_on)
{
u8 devctl;
Expand Down Expand Up @@ -255,8 +251,6 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
musb_readl(musb->mregs, OTG_INTERFSEL),
musb_readl(musb->mregs, OTG_SIMENABLE));

omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1);

if (is_host_enabled(musb))
musb->board_set_vbus = omap_set_vbus;

Expand Down Expand Up @@ -336,8 +330,6 @@ static int musb_platform_resume(struct musb *musb)
int musb_platform_exit(struct musb *musb)
{

omap_vbus_power(musb, 0 /*off*/, 1);

musb_platform_suspend(musb);

return 0;
Expand Down

0 comments on commit a8a83e2

Please sign in to comment.