xhci: clear extra bits from slot context when setting max exit latency
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 27 Nov 2014 16:19:15 +0000 (18:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:14:29 +0000 (16:14 -0800)
commit4801d4ea559440b7d63babdac1b1b43a13ac7562
tree7ccc41aa098857bf0973eee257e89789f5f18b71
parent69defe04ec825e42e0d719cca5a23f48b624bee9
xhci: clear extra bits from slot context when setting max exit latency

If we need to change the max exit latency with a Evaluate Context
command, we copy the old output slot context and use it as input
context for the command. This also copies the dev_state bits which
are supposed to be zero in the input slot context.

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