projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices
[cascardo/linux.git]
/
drivers
/
usb
/
core
/
usb.h
diff --git
a/drivers/usb/core/usb.h
b/drivers/usb/core/usb.h
index
05b5e17
..
5331812
100644
(file)
--- a/
drivers/usb/core/usb.h
+++ b/
drivers/usb/core/usb.h
@@
-45,7
+45,7
@@
static inline unsigned usb_get_max_power(struct usb_device *udev,
struct usb_host_config *c)
{
/* SuperSpeed power is in 8 mA units; others are in 2 mA units */
- unsigned mul = (udev->speed
=
= USB_SPEED_SUPER ? 8 : 2);
+ unsigned mul = (udev->speed
>
= USB_SPEED_SUPER ? 8 : 2);
return c->desc.bMaxPower * mul;
}