]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: uapi: cec-funcs.h: use CEC_LOG_ADDR_BROADCAST
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 10 Apr 2025 10:00:49 +0000 (12:00 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 30 Apr 2025 06:16:07 +0000 (08:16 +0200)
commitd12ddda5239826ca6978eaadea1b9280762c830a
treebf8ce7da45e0158d84248ea45b08c67a8c6b16fc
parent6829c5b5d26b1be31880d74ec24cb32d2d75f1ae
media: uapi: cec-funcs.h: use CEC_LOG_ADDR_BROADCAST

The cec-funcs.h header sets the destination to 0xf for those
messages that can only be broadcast. Instead of writing:

msg->msg[0] |= 0xf; /* broadcast */

just write:

msg->msg[0] |= CEC_LOG_ADDR_BROADCAST;

which is more descriptive and allows us to drop the comment.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/uapi/linux/cec-funcs.h