diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c index 8b4352d206b014d7bf25cfedbebc242fedc10150..a3ceef6d9632509b5d1d4cb760539af02a033efe 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.c +++ b/drivers/gpu/drm/radeon/radeon_audio.c @@ -470,7 +470,7 @@ void radeon_audio_detect(struct drm_connector *connector, int sink_type; if (!drm_detect_monitor_audio(radeon_connector_edid(connector))) { - radeon_encoder->audio = 0; + radeon_encoder->audio = NULL; return; }