]> git.baikalelectronics.ru Git - kernel.git/commit
media: media/cec: use CEC_MAX_MSG_SIZE instead of hardcoded 16
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 24 Aug 2022 06:57:26 +0000 (08:57 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 30 Aug 2022 05:37:02 +0000 (07:37 +0200)
commit814ae5b27dae49190cf35b57940f8c064d8597b9
treea6fe625a0122ce9336c216f5b3a6857e4ad57106
parent74925e119550b9b21164ab73de316eda1ba6326c
media: media/cec: use CEC_MAX_MSG_SIZE instead of hardcoded 16

Use the proper define for the maximum CEC message length instead of
hardcoding it.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/cec/platform/sti/stih-cec.c
drivers/media/i2c/adv7511-v4l2.c
drivers/media/i2c/adv7604.c
drivers/media/i2c/adv7842.c