]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: cec: add core error injection support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 31 Oct 2017 13:55:09 +0000 (09:55 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 22 Mar 2018 11:59:31 +0000 (07:59 -0400)
commit9ca400c18ff1100a52411952d24bc4c4a15facc3
treea0666d041708da0b3c555aebfae8b4e17190c871
parentf7b0fa6923179c51cdba0b23c0ffe9efb9e14048
media: cec: add core error injection support

Add two new ops (error_inj_show and error_inj_parse_line) to support
error injection functionality for CEC adapters. If both are present,
then the core will add a new error-inj debugfs file that can be used
to see the current error injection commands and to set error injection
commands.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-core.c
include/media/cec.h