OSDN Git Service

media: cec: clear all cec_log_addrs fields
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Jul 2017 14:21:14 +0000 (11:21 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 18 Jul 2017 15:36:19 +0000 (12:36 -0300)
commit299708e45e75500ba40b615896806c2f0877170f
tree1f3d82ded4d4738de7770975fef34ef20601788b
parent23a52386fabe0e06ebaf15cd45cf86ef41bffca3
media: cec: clear all cec_log_addrs fields

The CEC version, vendor ID and OSD name were not cleared when clearing the
current set of logical addresses. This was unexpected and somewhat confusing,
so reset all these fields to their default values. Also document this since
the documentation wasn't quite clear either.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst
drivers/media/cec/cec-adap.c