]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: UDC updates
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 29 Jun 2005 15:23:46 +0000 (08:23 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 29 Jun 2005 15:23:46 +0000 (08:23 -0700)
Minor OMAP updates that somehow got dropped from previous patches.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/gadget/omap_udc.c

index a2b812af6e669ab69a384912e18626cbd07190e4..a268ce4a616331d184e76c922f0a58aac79008af 100644 (file)
@@ -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;
@@ -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 */