From: Alex Deucher Date: Wed, 14 Jan 2015 22:20:10 +0000 (-0500) Subject: drm/radeon: use NULL rather then 0 in audio detect X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=308de41ba3bde80d50833718a2e37e49be868f5a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drm/radeon: use NULL rather then 0 in audio detect Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c index 8b4352d206b0..a3ceef6d9632 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; }