Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: dib0700: fix rc endpoint lookup
Make sure to use the current alternate setting when verifying the interface descriptors to avoid submitting an URB to an invalid endpoint. Failing to do so could cause the driver to misbehave or trigger a WARN() in usb_submit_urb() that kernels with panic_on_warn set would choke on. Fixes: c4018fa ("[media] dib0700: fix RC support on Hauppauge Nova-TD") Cc: stable <[email protected]> # 3.16 Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information