Alaa Emad e932f5b458 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 <mchehab+samsung@kernel.org>
Signed-off-by: Alaa Emad <alaaemadhossney.ae@gmail.com>
Link: https://lore.kernel.org/r/20210503115736.2104747-62-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-13 18:58:25 +02:00
..
2020-06-03 20:59:38 -07:00
2021-04-28 09:24:36 -07:00
2021-04-28 09:24:36 -07:00
2021-03-11 11:59:42 +01:00
2021-04-28 10:01:40 -07:00
2021-03-22 11:52:09 +01:00