]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
chtnau8824: Mono speaker fixes
authorHans de Goede <hdegoede@redhat.com>
Sat, 21 Oct 2023 14:31:09 +0000 (16:31 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 Oct 2023 15:37:36 +0000 (16:37 +0100)
commit5e2f5c6515463be582c185a12891aa00629a55b0
treef857c6b8e0fa3fa0786a71546ecf9dd865d4d834
parent24b9ea47b7bfafd963abc224968f91f8afdc7a85
chtnau8824: Mono speaker fixes

2 mono speaker setup fixes:

1. Use the kernel's components string to check for a mono-speaker device
when the board has a components string.

2. So far known nau8824 boards with a mono speaker where using the right
speaker channel, which is unusual. Normally mono speaker setups use
only the left speaker channel. The Cyberbook T116 tablet is a nau8824
based model, which indeed uses the left speaker channel for its single
speaker.

Modify ucm2/codecs/nau8824/MonoSpeaker.conf to send a left+right
channel mix to both speaker channels, so that things will work
independent of which speaker channel is used for a mono setup.

Link: https://lore.kernel.org/alsa-devel/20231021143109.52210-1-hdegoede@redhat.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Intel/chtnau8824/HiFi.conf
ucm2/codecs/nau8824/MonoSpeaker.conf