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)
commitb0704f8541af36b21483bc1ea639da248ff429d7
treeea54e69ff4ae947f69dbd654ec25cb0b12111e6d
parent4f88b0de7803240fa315025ef5ea2d85b2ca16bd
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