]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: Fix a logical vs bitwise AND bug
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 13 Aug 2012 16:57:03 +0000 (19:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:30:21 +0000 (10:30 -0700)
commit3dd2f0bb418f24a3b9a0b9b93b1ba104c2e6d140
treee8b8db0294445b7dd504a96917857a85efc4c40a
parent40fd8822f49ad6ac2b7a575e3b2020e7382db431
xhci: Fix a logical vs bitwise AND bug

commit 052c7f9ffb0e95843e75448d02664459253f9ff8 upstream.

The intent was to test whether the flag was set.

This patch should be backported to stable kernels as old as 3.0, since
it fixes a bug in commit e95829f474f0db3a4d940cae1423783edd966027 "xhci:
Switch PPT ports to EHCI on shutdown.", which was marked for stable.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
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