commit | 5909cbc881d021b02a00413b3083c771c5a8e309 | [log] [tgz] |
---|---|---|
author | Mike Krinkin <krinkin.m.u@gmail.com> | Sun Nov 13 13:31:16 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Nov 18 13:54:41 2016 +0200 |
tree | f008f78e06b450357a20dbcf8c9b299f0d8dddfd | |
parent | 7ac51a12ea11058e34ba6542671ed6c6aa00d7f7 [diff] |
usb: core: urb make use of usb_endpoint_maxp_mult Since usb_endpoint_maxp now returns only lower 11 bits mult calculation here isn't correct anymore and that breaks webcam for me. Patch make use of usb_endpoint_maxp_mult instead of direct calculation. Fixes: abb621844f6a ("usb: ch9: make usb_endpoint_maxp() return only packet size") Signed-off-by: Mike Krinkin <krinkin.m.u@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>