projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1cd659
)
drm/radeon/dce6: set correct number of audio pins
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 12 Dec 2013 17:13:17 +0000
(12:13 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 17 Dec 2013 14:23:14 +0000
(09:23 -0500)
DCE6.0, 8.x has 6
DCE6.1 has 4
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/dce6_afmt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/dce6_afmt.c
b/drivers/gpu/drm/radeon/dce6_afmt.c
index de86493cbc44af60a8079028e8e509f8cee81c7e..ab59fd76f2d902cce8d562024e31807c34b2d509 100644
(file)
--- a/
drivers/gpu/drm/radeon/dce6_afmt.c
+++ b/
drivers/gpu/drm/radeon/dce6_afmt.c
@@
-308,7
+308,9
@@
int dce6_audio_init(struct radeon_device *rdev)
rdev->audio.enabled = true;
if (ASIC_IS_DCE8(rdev))
- rdev->audio.num_pins = 7;
+ rdev->audio.num_pins = 6;
+ else if (ASIC_IS_DCE61(rdev))
+ rdev->audio.num_pins = 4;
else
rdev->audio.num_pins = 6;