Skip to content

Commit

Permalink
amd-soundwire: add support for AMD generic legacy machine driver
Browse files Browse the repository at this point in the history
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
perexg committed Nov 29, 2024
1 parent 62acef2 commit 4c64225
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions ucm2/conf.d/amd-soundwire/amd-soundwire.conf
15 changes: 15 additions & 0 deletions ucm2/sof-soundwire/rt722.conf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,21 @@ SectionDevice."Headset" {
cset "name='rt722 FU0F Capture Switch' 0"
]

If.hsmicsw {
Condition {
Type ControlExists
Control "name='Headset Mic Switch'"
}
True {
EnableSequence [
cset "name='Headset Mic Switch' on"
]
DisableSequence [
cset "name='Headset Mic Switch' off"
]
}
}

Value {
CapturePriority 200
CapturePCM "hw:${CardId},1"
Expand Down

0 comments on commit 4c64225

Please sign in to comment.