upstream: [media] em28xx-audio: use bInterval on em28xx-audio
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 10 Jan 2014 08:43:09 +0000 (05:43 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:27 +0000 (11:54 +0900)
commit69a3c1a096d6b42a5bded0a8c4120534564b3a5b
tree56544a418fd484bc95074f32244fe679d2983444
parent1458bce5e43bb62073c12f5718683e10f810ff77
upstream: [media] em28xx-audio: use bInterval on em28xx-audio

Just filling urb->interval with 1 is wrong, and causes a different
behaviour with xHCI.

With EHCI, the URB size is typically 192 bytes. However, as
xHCI specifies intervals in microframes, the URB size becomes
too short (24 bytes).

With this patch, the interval will be properly initialized, and
the device will behave the same if connected into a xHCI or an
EHCI device port.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c