From 5cf197f4fdbdf334b1c0e994d62efc5fbed0d31f Mon Sep 17 00:00:00 2001 From: Mauro Ribeiro Date: Fri, 2 Jan 2015 02:26:51 -0200 Subject: [PATCH] usb: attempt to revert AMLogic USB Autosuspend Change-Id: I4592256a2c511d3afd6cfcec1e5f647f131da887 --- drivers/usb/core/driver.c | 2 -- drivers/usb/core/usb.c | 5 ----- 2 files changed, 7 deletions(-) diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index f7013bbfda60..3486accc51dd 100755 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c @@ -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; diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index f10a87b00b0b..a341cff834ff 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c @@ -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 */