]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: xhci: fix incorrect bit test
authorNickolai Zeldovich <nickolai@csail.mit.edu>
Tue, 8 Jan 2013 03:39:31 +0000 (22:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Feb 2013 17:04:46 +0000 (09:04 -0800)
commit4252879491482572dfb50609b84436a8b512396f
tree3af055c39e1555690a887314551f761c0abbf25b
parentcaa891a5cd4f5867cd65cde8239459349ec2668f
drivers: xhci: fix incorrect bit test

commit ba7b5c22d33136a5612ca5ef8d31564dcc501126 upstream.

Fix incorrect bit test that originally showed up in
4ee823b83bc9851743fab756c76b27d6a1e2472b "USB/xHCI: Support
device-initiated USB 3.0 resume."

Use '&' instead of '&&'.

This should be backported to kernels as old as 3.4.

Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c