diff options
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r-- | drivers/usb/gadget/dummy_hcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index cbe44535c0f0..e454775c2ff2 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c | |||
@@ -900,7 +900,6 @@ static int dummy_udc_suspend (struct platform_device *pdev, pm_message_t state) | |||
900 | set_link_state (dum); | 900 | set_link_state (dum); |
901 | spin_unlock_irq (&dum->lock); | 901 | spin_unlock_irq (&dum->lock); |
902 | 902 | ||
903 | pdev->dev.power.power_state = state; | ||
904 | usb_hcd_poll_rh_status (dummy_to_hcd (dum)); | 903 | usb_hcd_poll_rh_status (dummy_to_hcd (dum)); |
905 | return 0; | 904 | return 0; |
906 | } | 905 | } |
@@ -915,7 +914,6 @@ static int dummy_udc_resume (struct platform_device *pdev) | |||
915 | set_link_state (dum); | 914 | set_link_state (dum); |
916 | spin_unlock_irq (&dum->lock); | 915 | spin_unlock_irq (&dum->lock); |
917 | 916 | ||
918 | pdev->dev.power.power_state = PMSG_ON; | ||
919 | usb_hcd_poll_rh_status (dummy_to_hcd (dum)); | 917 | usb_hcd_poll_rh_status (dummy_to_hcd (dum)); |
920 | return 0; | 918 | return 0; |
921 | } | 919 | } |