]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 2 Jan 2015 13:56:28 +0000 (10:56 -0300)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:15 +0000 (23:34 +0100)
commit63935f3ded0fb12df5b9b53d88f628d34b3d6867
treec6e7a015badafe32eca4d9369f98274c877895a3
parent9e012b00fcb631454ab30d588adf2156ac8426c2
lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb

commit 15e1ce33182d1d5dbd8efe8d382b9352dc857527 upstream.

A quirk of some older firmwares that report endpoint pipe type as PIPE_BULK
but the endpoint otheriwse functions as interrupt.

Check if usb_endpoint_type is USB_ENDPOINT_XFER_BULK and set as usb_rcvbulkpipe.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/media/usb/dvb-usb-v2/lmedm04.c