drm/vc4: Skip writes to disabled packet RAM
authorDom Cobley <popcornmix@gmail.com>
Fri, 10 Dec 2021 18:03:18 +0000 (18:03 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:34 +0000 (16:04 +0000)
commit83e66038c2c20648e759f96deea85bb1d35e935f
tree7875a7c1c4542b9c1ae04107da4f64582c912379
parentfabe5ea1a0941133d475e548ba0a56eaed6f522f
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