]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: make CEC adapter name unique
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 19 Jan 2023 09:02:19 +0000 (10:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:02 +0000 (11:28 +0100)
commit2a18cfd6ea4f654139cfc14709f46da2fe34b976
treee44d33ae4c85a53503e94b97c70864f6908f390b
parent77070cac1f8cbb464ad5cc914ced6c9ff6c0779f
drm/vc4: hdmi: make CEC adapter name unique

[ Upstream commit 51128c3f2a7c98055ea1d27e34910dc10977f618 ]

The bcm2711 has two HDMI outputs, each with their own CEC adapter.
The CEC adapter name has to be unique, but it is currently
hardcoded to "vc4" for both outputs. Change this to use the card_name
from the variant information in order to make the adapter name unique.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 8668cd3ec760 ("drm/vc4: add HDMI CEC support")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/dcf1db75-d9cc-62cc-fa12-baf1b2b3bf31@xs4all.nl
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/vc4/vc4_hdmi.c