Commit d7eb0a09 authored by Alex Deucher's avatar Alex Deucher

drm/radeon: fix audio disable on dce6+

Properly clear the enable bit when audio disable is requested.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
parent d9654413
...@@ -283,7 +283,7 @@ static void dce6_audio_enable(struct radeon_device *rdev, ...@@ -283,7 +283,7 @@ static void dce6_audio_enable(struct radeon_device *rdev,
bool enable) bool enable)
{ {
WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL, 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); DRM_INFO("%s audio %d support\n", enable ? "Enabling" : "Disabling", pin->id);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment