mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/vc4: hdmi: Call HDMI hotplug helper on disconnect
drm_atomic_helper_connector_hdmi_hotplug() must be called
regardless of the connection status, otherwise the HDMI audio
disconnect event won't be notified.
Fixes: 2ea9ec5d2c ("drm/vc4: hdmi: use drm_atomic_helper_connector_hdmi_hotplug()")
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: David Turner <david.turner@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250317-vc4_hotplug-v4-2-2af625629186@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
parent
0b87bbbeaf
commit
34f051acce
|
|
@ -372,13 +372,13 @@ static void vc4_hdmi_handle_hotplug(struct vc4_hdmi *vc4_hdmi,
|
|||
* the lock for now.
|
||||
*/
|
||||
|
||||
drm_atomic_helper_connector_hdmi_hotplug(connector, status);
|
||||
|
||||
if (status == connector_status_disconnected) {
|
||||
cec_phys_addr_invalidate(vc4_hdmi->cec_adap);
|
||||
return;
|
||||
}
|
||||
|
||||
drm_atomic_helper_connector_hdmi_hotplug(connector, status);
|
||||
|
||||
cec_s_phys_addr(vc4_hdmi->cec_adap,
|
||||
connector->display_info.source_physical_address, false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user