diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/driver.c | 3 | ||||
-rw-r--r-- | drivers/usb/core/port.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/sisusbvga/Kconfig | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 6eab440e1542..7609ac4aed1c 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
@@ -1765,7 +1765,8 @@ int usb_runtime_idle(struct device *dev) | |||
1765 | */ | 1765 | */ |
1766 | if (autosuspend_check(udev) == 0) | 1766 | if (autosuspend_check(udev) == 0) |
1767 | pm_runtime_autosuspend(dev); | 1767 | pm_runtime_autosuspend(dev); |
1768 | return 0; | 1768 | /* Tell the core not to suspend it, though. */ |
1769 | return -EBUSY; | ||
1769 | } | 1770 | } |
1770 | 1771 | ||
1771 | int usb_set_usb2_hardware_lpm(struct usb_device *udev, int enable) | 1772 | int usb_set_usb2_hardware_lpm(struct usb_device *udev, int enable) |
diff --git a/drivers/usb/core/port.c b/drivers/usb/core/port.c index 5fd3fee58f8b..d6b0fadf53e9 100644 --- a/drivers/usb/core/port.c +++ b/drivers/usb/core/port.c | |||
@@ -141,7 +141,6 @@ static const struct dev_pm_ops usb_port_pm_ops = { | |||
141 | #ifdef CONFIG_PM_RUNTIME | 141 | #ifdef CONFIG_PM_RUNTIME |
142 | .runtime_suspend = usb_port_runtime_suspend, | 142 | .runtime_suspend = usb_port_runtime_suspend, |
143 | .runtime_resume = usb_port_runtime_resume, | 143 | .runtime_resume = usb_port_runtime_resume, |
144 | .runtime_idle = pm_generic_runtime_idle, | ||
145 | #endif | 144 | #endif |
146 | }; | 145 | }; |
147 | 146 | ||
diff --git a/drivers/usb/misc/sisusbvga/Kconfig b/drivers/usb/misc/sisusbvga/Kconfig index 0d03a5200482..36bc28c884ad 100644 --- a/drivers/usb/misc/sisusbvga/Kconfig +++ b/drivers/usb/misc/sisusbvga/Kconfig | |||
@@ -2,6 +2,7 @@ | |||
2 | config USB_SISUSBVGA | 2 | config USB_SISUSBVGA |
3 | tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" | 3 | tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" |
4 | depends on (USB_MUSB_HDRC || USB_EHCI_HCD) | 4 | depends on (USB_MUSB_HDRC || USB_EHCI_HCD) |
5 | select FONT_SUPPORT if USB_SISUSBVGA_CON | ||
5 | ---help--- | 6 | ---help--- |
6 | Say Y here if you intend to attach a USB2VGA dongle based on a | 7 | Say Y here if you intend to attach a USB2VGA dongle based on a |
7 | Net2280 and a SiS315 chip. | 8 | Net2280 and a SiS315 chip. |