drm/msm/hdmi: move msm_hdmi_audio_update() out of msm_hdmi_set_timings()
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 8 Apr 2025 13:54:26 +0000 (16:54 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 2 May 2025 00:54:03 +0000 (03:54 +0300)
commit1735917ac44a0e28d7f247936736a2292c50bba3
tree3c1a23dd7014965973c546eec144a9d87952ad00
parent1785751734724d9c399809f7d1e3733e590da4bc
drm/msm/hdmi: move msm_hdmi_audio_update() out of msm_hdmi_set_timings()

There is a duplication between msm_hdmi_audio_update() calls in
msm_hdmi_set_timings() and msm_hdmi_bridge_atomic_pre_enable(). Merge
those two calls to be performed unconditionally at
msm_hdmi_bridge_atomic_pre_enable().

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/647505/
Link: https://lore.kernel.org/r/20250408-drm-hdmi-acr-v2-2-dee7298ab1af@oss.qualcomm.com
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c