diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-01-15 01:20:10 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 18:42:20 +0300 |
commit | 308de41ba3bde80d50833718a2e37e49be868f5a (patch) | |
tree | 27f6f66e183fe7979ff612e64c544edc00ef3741 /drivers/gpu/drm/radeon/radeon_audio.c | |
parent | f4c6c08182b3f648b788422f27926f097759b0eb (diff) | |
download | linux-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.c | 2 |
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; } |