usb: host: ohci-pxa27x: Fix and & vs | typo
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 17 Aug 2019 06:55:20 +0000 (09:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2019 16:59:30 +0000 (09:59 -0700)
commit0709831a50d31b3caf2237e8d7fe89e15b0d919d
treecac4f4c80512aeb8b786f7460954d3b6bdb7582f
parentb08a6259a141baba98c57524ee4283fd91445bb8
usb: host: ohci-pxa27x: Fix and & vs | typo

The code is supposed to clear the RH_A_NPS and RH_A_PSM bits, but it's
a no-op because of the & vs | typo.  This bug predates git and it was
only discovered using static analysis so it must not affect too many
people in real life.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20190817065520.GA29951@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pxa27x.c