drm/radeon: fix audio disable on dce6+
Subsystems (2)
PATCH 1/1 drm/radeon: fix audio disable on dce6+
Properly clear the enable bit when audio disable is requested.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/dce6_afmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/dce6_afmt.c +1 -1
@@ -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); }
Signature · 1 line
1.8.3.1