diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 07:51:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 08:37:22 -0400 |
commit | 98c1ce0ccff1617cba45e8ead236768a50545e7f (patch) | |
tree | b92ef1d6c8f29462d4fa2a083a4038f18c5a7999 /drivers/media/usb/uvc | |
parent | afdb4ca2be93d02cd1902395a7191097963dd8c1 (diff) | |
download | linux-98c1ce0ccff1617cba45e8ead236768a50545e7f.tar.gz |
media: cec-core: fix a bug at cec_error_inj_write()
If the adapter doesn't have error_inj_parse_line() ops, the
write() logic won't return -EINVAL, but, instead, it will keep
looping, because "count" is a non-negative number.
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/uvc')
0 files changed, 0 insertions, 0 deletions