projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'lts/linux-4.4.y' into linux-linaro-lsk-v4.4
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
core
/
usb.h
diff --git
a/drivers/usb/core/usb.h
b/drivers/usb/core/usb.h
index 05b5e17abf92fc158530d13f3e2ae8edf9923c5a..53318126ed91b24603934030702a0dae178cc5d1 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;
}