]> git.baikalelectronics.ru Git - kernel.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)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 5 Sep 2012 19:07:00 +0000 (12:07 -0700)
commit7314f7a791c9ef52d00abb9db922fba02b7071e5
tree35ab6de105398db0e056520cf27ff5f6870b1d76
parent03003834fe2fca04a864c8c981c6602343ab1c0a
xhci: Fix a logical vs bitwise AND bug

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 851dfaffbc627a56bed1e1c5c1df20ac0871aa75 "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>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci.c