summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_audio.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-01-15 01:20:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-01-22 18:42:20 +0300
commit308de41ba3bde80d50833718a2e37e49be868f5a (patch)
tree27f6f66e183fe7979ff612e64c544edc00ef3741 /drivers/gpu/drm/radeon/radeon_audio.c
parentf4c6c08182b3f648b788422f27926f097759b0eb (diff)
downloadlinux-308de41ba3bde80d50833718a2e37e49be868f5a.tar.xz
drm/radeon: use NULL rather then 0 in audio detect
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_audio.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_audio.c2
1 files changed, 1 insertions, 1 deletions
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;
}