diff options
author | Alaa Emad <alaaemadhossney.ae@gmail.com> | 2021-05-03 13:57:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 18:58:25 +0200 |
commit | e932f5b458eee63d013578ea128b9ff8ef5f5496 (patch) | |
tree | 8c89fdc3be34b9b2b4690dff2897b09483aeab77 /crypto/crc32c_generic.c | |
parent | d8c3be2fb2079d0cb4cd29d6aba58dbe54771e42 (diff) | |
download | linux-e932f5b458eee63d013578ea128b9ff8ef5f5496.tar.gz |
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>
Diffstat (limited to 'crypto/crc32c_generic.c')
0 files changed, 0 insertions, 0 deletions