]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7af26f889eb67db272021a939f7d4a57e96dd961
tree4adce7cbb0208f9e44ff86f46cd3593815ce8b66
parenta24f56d47930492c94ef6875bf45adf7607ca1a4
[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