drm/vc4: Skip writes to disabled packet RAM
authorDom Cobley <popcornmix@gmail.com>
Fri, 10 Dec 2021 18:03:18 +0000 (18:03 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 17 Dec 2021 15:00:35 +0000 (15:00 +0000)
commit72b58ab3cafd18f06715cdc2321a8dced6d95e92
tree85f913b70b65be2e6638ecccf87b91b3940c6532
parent800c49fd1f53adf66739d384402b7a90441b023b
drm/vc4: 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>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h