diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-02-18 10:25:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-02-27 14:13:06 -0500 |
commit | d7eb0a0940618f36e5937d81c06ad7bf438a99e2 (patch) | |
tree | 6703ecc0829b863a3497c9d19778020abf442b11 | |
parent | d965441342f3b7d63db784cad852328d17d47942 (diff) |
drm/radeon: fix audio disable on dce6+
Properly clear the enable bit when audio disable is requested.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/gpu/drm/radeon/dce6_afmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/dce6_afmt.c b/drivers/gpu/drm/radeon/dce6_afmt.c index 713a5d359901..36e8f1084621 100644 --- a/drivers/gpu/drm/radeon/dce6_afmt.c +++ b/drivers/gpu/drm/radeon/dce6_afmt.c | |||
@@ -283,7 +283,7 @@ static void dce6_audio_enable(struct radeon_device *rdev, | |||
283 | bool enable) | 283 | bool enable) |
284 | { | 284 | { |
285 | WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL, | 285 | WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOTPLUG_CONTROL, |
286 | AUDIO_ENABLED); | 286 | enable ? AUDIO_ENABLED : 0); |
287 | DRM_INFO("%s audio %d support\n", enable ? "Enabling" : "Disabling", pin->id); | 287 | DRM_INFO("%s audio %d support\n", enable ? "Enabling" : "Disabling", pin->id); |
288 | } | 288 | } |
289 | 289 | ||