]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
bytcr-rt5640: Fix 'Headphone Switch' / 'Headset Mic Switch' no longer getting set
authorHans de Goede <hdegoede@redhat.com>
Wed, 29 Sep 2021 09:11:40 +0000 (11:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 29 Sep 2021 10:57:14 +0000 (12:57 +0200)
commitd2416a4e2644ca04b21d4c0b5e9fff2aab1ec169
tree3d48a09deb444685969ebc03a1ae1ae72300021d
parent8944ee3ebcafabe3018772529c60d814ea6123a4
bytcr-rt5640: Fix 'Headphone Switch' / 'Headset Mic Switch' no longer getting set

Commit 446d0a71b47f ("codecs/rt5640: Move out BayTrail-specific pin switches")
moved the setting of the 'Headphone Switch' / 'Headset Mic Switch' into
"If.hp" resp "If.hsmic" blocks. But instead of making them part of the
True {} block inside that If, the statements where added add the top-level
of the If {} block where they are no-ops.

Move them to inside the True blocks so that these Switches again get
properly turned on/off. This fixes the Headphones and Headset-mic no longer
working on bytcr-rt5640 devices.

Cc: Dmitry Osipenko <digetx@gmail.com>
Fixes: 446d0a71b47f ("codecs/rt5640: Move out BayTrail-specific pin switches")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/bytcr-rt5640/HiFi.conf