diff options
| author | Johan Hovold <[email protected]> | 2020-01-03 17:35:12 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-02-24 16:24:21 +0100 |
| commit | f52981019ad8d6718de79b425a574c6bddf81f7c (patch) | |
| tree | 4661137b5f8084b8649f4e6e7552de17784d7d7d /drivers/media/platform/stm32/stm32-dcmi.c | |
| parent | bca243b1ce0e46be26f7c63b5591dfbb41f558e5 (diff) | |
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: c4018fa2e4c0 ("[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]>
Diffstat (limited to 'drivers/media/platform/stm32/stm32-dcmi.c')
0 files changed, 0 insertions, 0 deletions