OSDN Git Service

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)
commite3891b36364e85914fcb7a535656695a67e876a7
treeb6c72a488bce4d46968e51f9c1cbb3fbe6e494c8
parent59267fc34f4900dcd2ec3295f6be04b79aee2186
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