Skip to content

Commit

Permalink
ucm2: Qualcomm: sc8280xp: use Speakers volume control
Browse files Browse the repository at this point in the history
Make use of Speakers volume control to control analog gain on WSA
Speakers.

Closes: #335
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Srinivas-Kandagatla authored and perexg committed Oct 30, 2023
1 parent 489b9a1 commit ddf3290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ucm2/Qualcomm/sc8280xp/HiFi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ SectionDevice."Speaker" {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},1"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "Speakers"
}
}

Expand Down
1 change: 1 addition & 0 deletions ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ SectionUseCase."HiFi" {
Include.card-init.File "/lib/card-init.conf"
Include.ctl-remap.File "/lib/ctl-remap.conf"
Include.codec-init.File "/codecs/wcd938x/init.conf"
Include.codec-init.File "/codecs/wsa883x/init.conf"

0 comments on commit ddf3290

Please sign in to comment.