mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
usb: attempt to revert AMLogic USB Autosuspend
Change-Id: I4592256a2c511d3afd6cfcec1e5f647f131da887
This commit is contained in:
@@ -273,8 +273,6 @@ static int usb_probe_interface(struct device *dev)
|
||||
|
||||
intf->needs_binding = 0;
|
||||
|
||||
intf->auto_suspend = driver->supports_autosuspend;
|
||||
|
||||
if (usb_device_is_owned(udev))
|
||||
return error;
|
||||
|
||||
|
||||
@@ -307,11 +307,6 @@ static const struct dev_pm_ops usb_device_pm_ops = {
|
||||
.thaw = usb_dev_thaw,
|
||||
.poweroff = usb_dev_poweroff,
|
||||
.restore = usb_dev_restore,
|
||||
#if 0 //def CONFIG_PM_RUNTIME
|
||||
.runtime_suspend = usb_runtime_suspend,
|
||||
.runtime_resume = usb_runtime_resume,
|
||||
.runtime_idle = usb_runtime_idle,
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* CONFIG_PM */
|
||||
|
||||
Reference in New Issue
Block a user