diff options
author | Alaa Emad <[email protected]> | 2021-05-03 13:57:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 18:58:25 +0200 |
commit | e932f5b458eee63d013578ea128b9ff8ef5f5496 (patch) | |
tree | 8c89fdc3be34b9b2b4690dff2897b09483aeab77 /drivers/usb/cdns3/cdns3-debug.h | |
parent | d8c3be2fb2079d0cb4cd29d6aba58dbe54771e42 (diff) |
media: gspca: mt9m111: Check write_bridge for timeout
If m5602_write_bridge times out, it will return a negative error value.
So properly check for this and handle the error correctly instead of
just ignoring it.
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Alaa Emad <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions