WSL2-Linux-Kernel/sound/soc/mediatek/mt8192
Nícolas F. R. A. Prado e352f31a86
ASoC: mediatek: mt8192-mt6359: Go back to old headphone pin name
This reverts commit cbbc0ec6de ("ASoC: mediatek: mt8192-mt6359:
Remove " Jack" from Headphone pin name"). That commit removed the "
Jack" suffix with the reasoning that it is automatically added to the
name of the kcontrol created, which is true, but this name is also used
to look for the DAPM widget that will be toggled when the jack status is
updated. Since the widget is still called "Headphone Jack" the jack
can't link to the widget and the following error is shown:

mt8192_mt6359 sound: ASoC: DAPM unknown pin Headphone

It is not possible to also rename the headphone DAPM widget because its
name is used by a switch kcontrol, "Headphone Jack Switch", both to link
to the headphone widget and to assemble its name. This switch's name is
referenced in the upstream UCM file, so renaming it would break
userspace. Since the original commit didn't bring any benefit, besides
sparing a few CPU cycles, simply revert it.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20230608221050.217968-1-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-09 10:44:38 +01:00
..
Makefile ASoC: mediatek: mt8192: add machine driver with mt6359, rt1015 and rt5682 2020-11-04 17:51:52 +00:00
mt8192-afe-clk.c ASoC: mt8192: Remove function name log messages 2023-03-14 13:30:20 +00:00
mt8192-afe-clk.h
mt8192-afe-common.h ASoC: mediatek: mt8192: Allow setting shared clocks from machine driver 2022-09-09 18:48:52 +01:00
mt8192-afe-control.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
mt8192-afe-gpio.c ASoC: mediatek: mt8192: Make some symbols static 2020-11-05 14:52:32 +00:00
mt8192-afe-gpio.h
mt8192-afe-pcm.c ASoC: mediatek: mt8192-afe-pcm: Convert to platform remove callback returning void 2023-03-20 13:08:41 +00:00
mt8192-dai-adda.c ASoC: mt8192: Fix range for sidetone positive gain 2023-02-28 13:58:55 +00:00
mt8192-dai-i2s.c ASoC: mediatek: mt8192: Remove clock share parsing from DT 2022-09-09 18:48:54 +01:00
mt8192-dai-pcm.c ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8192-dai-tdm.c ASoC: mt8192: Move spammy messages to debug level 2023-03-14 13:30:20 +00:00
mt8192-interconnection.h
mt8192-mt6359-rt1015-rt5682.c ASoC: mediatek: mt8192-mt6359: Go back to old headphone pin name 2023-06-09 10:44:38 +01:00
mt8192-reg.h ASoC: mediatek: mt8192: fix tdm out data is valid on rising edge 2021-03-12 14:25:32 +00:00