]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cec: update log_addr[] before finishing configuration
authorHans Verkuil <hansverk@cisco.com>
Fri, 9 Dec 2016 13:54:06 +0000 (11:54 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Dec 2016 09:01:12 +0000 (07:01 -0200)
commit9571745cca3cb00f3419b66fd9ea96cb01e456b9
tree4adce7cbb0208f9e44ff86f46cd3593815ce8b66
parent401303d86683f51519fb901048ff202776a0dbf2
[media] cec: update log_addr[] before finishing configuration

The loop that sets the unused logical addresses to INVALID should be
done before 'configured' is set to true. This ensures that cec_log_addrs
is consistent before it will be used.

Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c