summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2015-07-08 12:14:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-22 14:49:42 -0700
commit1209544d8a2a6084f58625ca66f5cd77580df53f (patch)
treed6380e110e7c1b7e071b251c9d452a441d59fb68 /drivers/usb
parent91b725600d8f27d759d211e36dda6182c6f93ec6 (diff)
downloadop-kernel-dev-1209544d8a2a6084f58625ca66f5cd77580df53f.zip
op-kernel-dev-1209544d8a2a6084f58625ca66f5cd77580df53f.tar.gz
USB: OHCI: fix bad #define in ohci-tmio.c
An incorrect definition of CCR_PM_USBPW3 in ohci-tmio.c is a perennial source of invalid diagnoses from static scanners, such as in <http://marc.info/?l=linux-usb&m=143634574527641&w=2>. This patch fixes the definition. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: David Binderman <dcb314@hotmail.com> CC: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-tmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c
index e9a6eec..cfcfadf 100644
--- a/drivers/usb/host/ohci-tmio.c
+++ b/drivers/usb/host/ohci-tmio.c
@@ -58,7 +58,7 @@
#define CCR_PM_CKRNEN 0x0002
#define CCR_PM_USBPW1 0x0004
#define CCR_PM_USBPW2 0x0008
-#define CCR_PM_USBPW3 0x0008
+#define CCR_PM_USBPW3 0x0010
#define CCR_PM_PMEE 0x0100
#define CCR_PM_PMES 0x8000
OpenPOWER on IntegriCloud