media: usb: uvc: make use of new usb_endpoint_maxp_mult()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 10:22:53 +0000 (13:22 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 1 Nov 2016 08:17:25 +0000 (10:17 +0200)
commit08295ee0e6976b060cd5c2a59877d8ea6379075c
treec1491d03077da65d6896569a611116d51d375fb7
parentb72b7979c356f06a85ac1de03e5086b5bf461702
media: usb: uvc: make use of new usb_endpoint_maxp_mult()

We have introduced a helper to calculate multiplier
value from wMaxPacketSize. Start using it.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: <linux-media@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/media/usb/uvc/uvc_video.c