]> git.openfabrics.org - ~emulex/infiniband.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 13:56:53 +0000 (11:56 -0200)
commitd2849fa59d79dea7a6deeef13cc3efaafab3bf63
tree68d481b5af521a448f9611910f56444829aac29c
parentd845fb3ae5b97bda8810f450030c061b49a0b91b
[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