Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ static void sun4i_hdmi_disable(struct drm_encoder *encoder)
DRM_DEBUG_DRIVER("Disabling the HDMI Output\n");

#ifdef CONFIG_DRM_SUN4I_HDMI_AUDIO
sun4i_hdmi_audio_destroy(hdmi);
if (hdmi->hdmi_audio)
sun4i_hdmi_audio_destroy(hdmi);
#endif

val = readl(hdmi->base + SUN4I_HDMI_VID_CTRL_REG);
Expand Down