]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Skip writes to disabled packet RAM
authorDom Cobley <popcornmix@gmail.com>
Mon, 13 Jun 2022 14:47:52 +0000 (16:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:56:01 +0000 (14:56 +0200)
commit5e05e2c710bb9c9ea8046f348bbc50d0ed092e78
treedaa6b28a586845b415848c390c0b8d0795d21b6e
parent3047b9503eb0791252561657efad3bcd7b8709ff
drm/vc4: hdmi: Skip writes to disabled packet RAM

This path actually occurs when audio is started during a hdmi mode set.
As the data will be written by vc4_hdmi_set_infoframes when packet RAM
is enabled again, don't treat as an error

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-26-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h