mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
drm/radeon/dce6: set correct number of audio pins
DCE6.0, 8.x has 6 DCE6.1 has 4 Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f1cd659449
commit
533518a43a
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue