[media] cec: allow configuration both from within driver and from user space
authorJohan Fjeldtvedt <jaffe1@gmail.com>
Mon, 22 Aug 2016 09:04:51 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Sep 2016 19:24:04 +0000 (16:24 -0300)
commita2fdc9df5e02ac3ab91d7888372cbe9512273171
tree99f128aa47ca68561d77894e4c11aa21b9bccf91
parentae54913517f0705b92fe812c8c3f2ec37f542c99
[media] cec: allow configuration both from within driver and from user space

It makes sense for adapters such as the Pulse-Eight to be configurable
both from within the driver and from user space, so remove the
requirement that drivers only can call cec_s_log_addrs or
cec_s_phys_addr if they don't expose those capabilities to user space.

Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cec/cec-adap.c