[media] cec: set unclaimed addresses to CEC_LOG_ADDR_INVALID
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 14 Aug 2016 11:27:09 +0000 (08:27 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 22 Aug 2016 17:01:18 +0000 (14:01 -0300)
commit0c1d61b0e4ed68d125b21fed375c38b6e3c2a658
tree4d9dbee2fc6ecf456f1c3d27d6cec05fa916d8ba
parentdcceb1eaf210096831b14471bc87678375b086ed
[media] cec: set unclaimed addresses to CEC_LOG_ADDR_INVALID

Up to 4 logical addresses can be claimed. Make sure that any
unclaimed logical addresses are set to CEC_LOG_ADDR_INVALID as
per the documentation.

Take special care in the unregistered case: when falling back to
unregistered num_log_addrs may be > 1, so mark those as invalid.

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
This page took 0.024254 seconds and 5 git commands to generate.