]> git.baikalelectronics.ru Git - kernel.git/commit
media: cec-adap.c: reconfigure if the PA changes during configuration
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 6 May 2022 12:46:46 +0000 (14:46 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:29:16 +0000 (11:29 +0200)
commite4879ae38e0ac51775a04541c915088a0073a0b0
treeb6c72a488bce4d46968e51f9c1cbb3fbe6e494c8
parent2664b8f3428b32073323d7e106c7f52c89b3d952
media: cec-adap.c: reconfigure if the PA changes during configuration

If the physical address changes (i.e. becomes invalid, then valid again)
while the adapter is still claiming free logical addresses, then trigger
a reconfiguration since any claimed LAs may now be stale.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/cec/core/cec-adap.c
include/media/cec.h