projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e1eea0
)
usb: misc: usbtest: remove unnecessary & operation
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 11:17:38 +0000
(14:17 +0300)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:27 +0000
(10:38 +0200)
Now that usb_endpoint_maxp() only returns the lowest
11 bits from wMaxPacketSize, we can remove the &
operation from this driver.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/misc/usbtest.c
patch
|
blob
|
history
diff --git
a/drivers/usb/misc/usbtest.c
b/drivers/usb/misc/usbtest.c
index
8edfbc8
..
3525626
100644
(file)
--- a/
drivers/usb/misc/usbtest.c
+++ b/
drivers/usb/misc/usbtest.c
@@
-2001,7
+2001,7
@@
test_queue(struct usbtest_dev *dev, struct usbtest_param_32 *param,
"iso period %d %sframes, wMaxPacket %d, transactions: %d\n",
1 << (desc->bInterval - 1),
(udev->speed == USB_SPEED_HIGH) ? "micro" : "",
- usb_endpoint_maxp(desc)
& 0x7ff
,
+ usb_endpoint_maxp(desc),
usb_endpoint_maxp_mult(desc));
dev_info(&dev->intf->dev,