OpenCloudOS-Kernel/drivers/media/cec
Mauro Carvalho Chehab 98c1ce0ccf 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>
2018-03-23 08:37:22 -04:00
..
Kconfig media: cec-pin-error-inj: parse/show error injection 2018-03-22 08:00:59 -04:00
Makefile media: cec-pin-error-inj: parse/show error injection 2018-03-22 08:00:59 -04:00
cec-adap.c media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
cec-api.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-core.c media: cec-core: fix a bug at cec_error_inj_write() 2018-03-23 08:37:22 -04:00
cec-edid.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-notifier.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-pin-error-inj.c media: cec-pin-error-inj: parse/show error injection 2018-03-22 08:00:59 -04:00
cec-pin-priv.h media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
cec-pin.c media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
cec-priv.h media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00