Commit a2836d3f authored by Chen Ni's avatar Chen Ni Committed by Mauro Carvalho Chehab
Browse files

media: lmedm04: Handle errors for lme2510_int_read



Add check for the return value of usb_pipe_endpoint() and
usb_submit_urb() in order to catch the errors.

Fixes: 15e1ce33 ("[media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20240521091042.1769684-1-nichen@iscas.ac.cn


Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent a7f5b36b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment