Skip to content

Commit

Permalink
drm/radeon: use NULL rather then 0 in audio detect
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Alex Deucher committed Jan 22, 2015
1 parent f4c6c08 commit 308de41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/radeon_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 308de41

Please sign in to comment.