Alan Stern
16cef17b05
USB: add flag for HCDs that can't receive wakeup requests (isp1760-hcd)
...
commit 074f9dd55f upstream.
Currently the USB stack assumes that all host controller drivers are
capable of receiving wakeup requests from downstream devices.
However, this isn't true for the isp1760-hcd driver, which means that
it isn't safe to do a runtime suspend of any device attached to a
root-hub port if the device requires wakeup.
This patch adds a "cant_recv_wakeups" flag to the usb_hcd structure
and sets the flag in isp1760-hcd. The core is modified to prevent a
direct child of the root hub from being put into runtime suspend with
wakeup enabled if the flag is set.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu >
Tested-by: Nicolas Pitre <nico@linaro.org >
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com >
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk >
2015-05-09 23:16:14 +01:00
..
2014-11-05 20:27:42 +00:00
2014-01-03 04:33:18 +00:00
2015-05-09 23:16:14 +01:00
2014-11-05 20:27:43 +00:00
2013-04-25 20:25:31 +01:00
2013-03-06 03:24:19 +00:00
2014-01-03 04:33:21 +00:00
2013-09-10 01:57:27 +01:00
2014-04-09 02:20:44 +01:00
2014-12-14 16:23:47 +00:00
2013-07-27 05:34:20 +01:00
2015-05-09 23:16:12 +01:00
2014-12-14 16:23:48 +00:00
2014-12-14 16:23:49 +00:00
2014-12-14 16:23:49 +00:00
2015-05-09 23:16:12 +01:00
2013-03-06 03:23:52 +00:00
2013-06-19 02:16:59 +01:00
2015-02-20 00:49:36 +00:00
2015-01-01 01:27:50 +00:00
2013-03-20 15:03:20 +00:00
2015-02-20 00:49:37 +00:00
2013-05-30 14:35:10 +01:00
2013-11-28 14:01:59 +00:00
2013-11-28 14:02:00 +00:00
2013-09-10 01:57:20 +01:00
2014-06-09 13:29:03 +01:00
2013-10-26 21:06:04 +01:00
2014-02-15 19:20:17 +00:00
2013-10-26 21:05:57 +01:00
2013-03-06 03:23:57 +00:00
2013-05-30 14:35:13 +01:00
2013-08-02 22:14:47 +02:00
2013-05-13 15:02:30 +01:00
2013-10-26 21:05:56 +01:00
2014-07-11 13:33:34 +01:00
2013-05-13 15:02:14 +01:00
2014-11-05 20:27:43 +00:00
2015-02-20 00:49:30 +00:00
2015-05-09 23:16:12 +01:00
2014-12-14 16:23:52 +00:00
2013-03-06 03:24:27 +00:00
2013-04-25 20:25:38 +01:00
2014-06-09 13:29:03 +01:00
2013-04-25 20:25:50 +01:00
2015-02-20 00:49:38 +00:00
2014-07-11 13:33:53 +01:00
2014-08-06 18:07:37 +01:00
2014-09-13 23:41:50 +01:00
2013-09-10 01:57:37 +01:00
2015-02-20 00:49:40 +00:00
2013-03-06 03:24:11 +00:00
2014-05-18 14:58:06 +01:00
2014-09-13 23:41:41 +01:00
2014-01-03 04:33:21 +00:00
2013-07-27 05:34:29 +01:00
2014-01-03 04:33:33 +00:00
2014-02-15 19:20:09 +00:00
2013-03-20 15:03:41 +00:00
2013-04-25 20:25:40 +01:00
2014-01-03 04:33:24 +00:00
2014-02-15 19:20:16 +00:00
2013-11-28 14:01:59 +00:00
2014-04-02 00:58:44 +01:00
2013-03-06 03:23:57 +00:00
2013-04-25 20:25:36 +01:00
2013-03-06 03:24:22 +00:00
2014-07-11 13:33:59 +01:00
2014-01-03 04:33:32 +00:00
2013-06-29 04:06:40 +01:00
2013-10-26 21:05:59 +01:00
2014-07-11 13:33:35 +01:00
2015-02-20 00:49:35 +00:00
2014-04-30 16:23:23 +01:00
2013-03-20 15:03:33 +00:00
2014-08-06 18:07:31 +01:00
2014-08-06 18:07:42 +01:00
2013-06-29 04:06:39 +01:00
2013-04-25 20:25:36 +01:00
2014-12-14 16:23:49 +00:00
2013-06-19 02:17:01 +01:00
2015-02-20 00:49:37 +00:00
2013-04-10 03:20:11 +01:00
2015-02-20 00:49:34 +00:00
2013-11-28 14:02:03 +00:00
2014-04-02 00:58:57 +01:00
2014-08-06 18:07:33 +01:00
2013-05-30 14:35:03 +01:00
2015-02-20 00:49:34 +00:00
2013-03-06 03:23:52 +00:00
2013-09-10 01:57:28 +01:00
2015-02-20 00:49:35 +00:00