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)
commit05c480f4d0ba438e6d37a1660d81cc7eb670e26b
treea6fe625a0122ce9336c216f5b3a6857e4ad57106
parent107ca18cad69162fd2750c4616fa1cc02b15394d
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