[PATCH 1/3] drm/radeon: fix audio disable on dce6+ (original) (raw)

Christian König deathsimple at vodafone.de
Tue Feb 18 08:17:17 PST 2014


Am 18.02.2014 17:13, schrieb Alex Deucher:

Properly clear the enable bit when audio disable is requested.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com> Cc: stable at vger.kernel.org

For the whole series:

Reviewed-by: Christian König <christian.koenig at amd.com>

--- drivers/gpu/drm/radeon/dce6afmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/dce6afmt.c b/drivers/gpu/drm/radeon/dce6afmt.c index 713a5d3..36e8f10 100644 --- a/drivers/gpu/drm/radeon/dce6afmt.c +++ b/drivers/gpu/drm/radeon/dce6afmt.c @@ -283,7 +283,7 @@ static void dce6audioenable(struct radeondevice *rdev, bool enable) { WREG32ENDPOINT(pin->offset, AZF0CODECPINCONTROLHOTPLUGCONTROL, - AUDIOENABLED); + enable ? AUDIOENABLED : 0); DRMINFO("%s audio %d support\n", enable ? "Enabling" : "Disabling", pin->id); }



More information about the dri-devel mailing list