Skip to content

Commit

Permalink
drm/radeon: fix audio disable on dce6+
Browse files Browse the repository at this point in the history
Properly clear the enable bit when audio disable is requested.

Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Cc: [email protected]
  • Loading branch information
alexdeucher committed Feb 27, 2014
1 parent d965441 commit d7eb0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/dce6_afmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static void dce6_audio_enable(struct radeon_device *rdev,
bool enable)
{
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL,
AUDIO_ENABLED);
enable ? AUDIO_ENABLED : 0);
DRM_INFO("%s audio %d support\n", enable ? "Enabling" : "Disabling", pin->id);
}

Expand Down

0 comments on commit d7eb0a0

Please sign in to comment.