[media] cec: stih: allow to use max CEC logical addresses
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 18 May 2017 08:45:09 +0000 (05:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 10:44:19 +0000 (07:44 -0300)
commite201031df9d36a4c58f8380c9def7e6ae57fa1b6
tree3e2de789b235007748d178d40f4f528d084fb331
parent2eeb329619a514b2d77a8ebd72f578dbe78bf52d
[media] cec: stih: allow to use max CEC logical addresses

Hardware could support up to 16 logical addresses which is more
than needed by CEC specifications.
Let use CEC_MAX_LOG_ADDRS instead of limited it on one.
stih_cec_adap_log_addr() function was alredy written to support
multiple addresses requests.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/cec/stih-cec.c