xhci: Switch only Intel Lynx Point-LP ports to EHCI on shutdown.
authorDenis Turischev <denis.turischev@compulab.co.il>
Tue, 20 May 2014 11:00:42 +0000 (14:00 +0300)
committerJiri Slaby <jslaby@suse.cz>
Wed, 18 Jun 2014 09:19:44 +0000 (11:19 +0200)
commitd0f30eb91a4beef22aa86c89a21d2492832f33c9
treec17786693d3794e35cc083ad3a1065f7c6d444c1
parentbe385c37c4c5ce1226cb6dccc0b174ff1900329f
xhci: Switch only Intel Lynx Point-LP ports to EHCI on shutdown.

commit 0a939993bff117d3657108ca13b011fc0378aedb upstream.

Patch "xhci: Switch Intel Lynx Point ports to EHCI on shutdown."
commit c09ec25d3684cad74d851c0f028a495999591279 is not fully correct

It switches both Lynx Point and Lynx Point-LP ports to EHCI on shutdown.
On some Lynx Point machines it causes spurious interrupt,
which wake the system: bugzilla.kernel.org/show_bug.cgi?id=76291

On Lynx Point-LP on the contrary switching ports to EHCI seems to be
necessary to fix these spurious interrupts.

Signed-off-by: Denis Turischev <denis@compulab.co.il>
Reported-by: Wulf Richartz <wulf.richartz@gmail.com>
Cc: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/host/xhci-pci.c