xhci: endianness xhci_calculate_intel_u2_timeout
authorOliver Neukum <[email protected]>
Wed, 17 Oct 2012 10:17:50 +0000 (12:17 +0200)
committerSarah Sharp <[email protected]>
Tue, 23 Oct 2012 22:43:38 +0000 (15:43 -0700)
commit966e7a854177097083683176ced871558b631a12
tree1c2dbafb52d41db82ff3029fcd2e37ecb7dd157a
parent27c411c95a8e9ed92be658abf1d63e22873a3a66
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 e3567d2c15a7a8e2f992a5f7c7683453ca406d82 "xhci: Add Intel
U1/U2 timeout policy."

Signed-off-by: Oliver Neukum <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
CC: [email protected]
drivers/usb/host/xhci.c