]> git.baikalelectronics.ru Git - kernel.git/commit
media: vivid: fix incorrect HDMI input/output CEC logging
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 20 Aug 2017 11:39:42 +0000 (07:39 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 12:36:29 +0000 (08:36 -0400)
commit5f522b361647acf811c4561e18601ef0f4008a51
treeea54e69ff4ae947f69dbd654ec25cb0b12111e6d
parent38fda013167290e54b9d465d2b8a25bb60d7bbc6
media: vivid: fix incorrect HDMI input/output CEC logging

Only the first HDMI input has a CEC adapter, so just report 'HDMI 0' as
the HDMI input name.

For the HDMI outputs use bus_cnt instead of i as the output number.
The HDMI name now corresponds to what 'v4l2-ctl --list-outputs' reports.

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