]> git.baikalelectronics.ru Git - kernel.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)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 23 Oct 2012 22:43:38 +0000 (15:43 -0700)
commit4f6fc0590b730cc30a5e3c715d65a97a738aaeb1
tree1c2dbafb52d41db82ff3029fcd2e37ecb7dd157a
parente2cf26822d1aca6fe871b1ab092de18910f8643c
xhci: endianness xhci_calculate_intel_u2_timeout

An le16 is accessed without conversion.

This patch should be backported to kernels as old as 3.5, that contain
the commit 46e49d57b3683ff08c7a22ca2408792b083007f3 "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>
CC: stable@vger.kernel.org
drivers/usb/host/xhci.c