]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: endianness xhci_calculate_intel_u2_timeout
authorOliver Neukum <oliver@neukum.org>
Wed, 17 Oct 2012 10:17:50 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:09:58 +0000 (10:09 -0700)
commit11c5035c9cfb7af7cfedd42e236d52f9c6bd1c49
tree89719c395b042afaec5bebf19e91b4a74500f282
parent15e01c0ef27c323ac1a97ba50b3021eab33a96c9
xhci: endianness xhci_calculate_intel_u2_timeout

commit 966e7a854177097083683176ced871558b631a12 upstream.

An le16 is accessed without conversion.

This patch should be backported to kernels as old as 3.5, that contain
the commit e3567d2c15a7a8e2f992a5f7c7683453ca406d82 "xhci: Add Intel
U1/U2 timeout policy."

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c