xhci: use the correct define to indicate port status suspend change.
authorMathias Nyman <mathias.nyman@linux.intel.com>
Tue, 24 Nov 2015 11:09:46 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 18:45:51 +0000 (10:45 -0800)
commit5e6389fda02d6a22800bacfb2850366bfa18291b
tree32eae4bf00727ce948d2d4defc090a4362e47d56
parentfc0855f2747a0e21d86b7e63c50bf234fa766184
xhci: use the correct define to indicate port status suspend change.

use the variables defined for populating the port status and
port chage bits retuend by GetPortStatus request intead of
the hub class feature selectors.

The defines for hub class feature selectors are used for other purposes,
they work as port status and feature selectors are in the same order, and
set the same bits, but it makes the code very hard to follow

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c