drm/radeon: use NULL rather then 0 in audio detect
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Jan 2015 22:20:10 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:42:20 +0000 (10:42 -0500)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_audio.c

index 8b4352d206b014d7bf25cfedbebc242fedc10150..a3ceef6d9632509b5d1d4cb760539af02a033efe 100644 (file)
@@ -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;
                }