Skip to content

Commit

Permalink
[PATCH] USB: omap_udc tweaks
Browse files Browse the repository at this point in the history
Minor OMAP updates that somehow got dropped from previous patches.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
david-b@pacbell.net authored and Greg Kroah-Hartman committed Jul 12, 2005
1 parent e828264 commit 1d7beee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/gadget/omap_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2908,6 +2908,7 @@ static int __exit omap_udc_remove(struct device *dev)
* make host resumes and VBUS detection trigger OMAP wakeup events; that
* may involve talking to an external transceiver (e.g. isp1301).
*/

static int omap_udc_suspend(struct device *dev, pm_message_t message, u32 level)
{
u32 devstat;
Expand Down Expand Up @@ -2936,8 +2937,6 @@ static int omap_udc_resume(struct device *dev, u32 level)
return 0;

DBG("resume + wakeup/SRP\n");
udc->gadget.dev.parent->power.power_state = PMSG_ON;
udc->gadget.dev.power.power_state = PMSG_ON;
omap_pullup(&udc->gadget, 1);

/* maybe the host would enumerate us if we nudged it */
Expand Down

0 comments on commit 1d7beee

Please sign in to comment.