summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-05-10 13:29:56 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 17:30:33 (GMT)
commit67b1fcc9ac3f05660809e14cf76a046fc1cc7e41 (patch)
treed93b9dca50f1fe268e5a6894cdc59ec25ac55f70 /drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
parent758ac17f963f3497aae4e767d3a9eb68fea71f71 (diff)
downloadlinux-67b1fcc9ac3f05660809e14cf76a046fc1cc7e41.tar.xz
drm/amdgpu/dce11: fix audio offset for asics with >7 audio pins
Missing offset in the audio offset array. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v11_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index b722aa0..1e09885 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -1602,6 +1602,7 @@ static const u32 pin_offsets[] =
AUD4_REGISTER_OFFSET,
AUD5_REGISTER_OFFSET,
AUD6_REGISTER_OFFSET,
+ AUD7_REGISTER_OFFSET,
};
static int dce_v11_0_audio_init(struct amdgpu_device *adev)