mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
ASoC: mediatek: mt8192-mt6359: Remove " Jack" from Headphone pin name
Function jack_kctl_name_gen() will remove the redundant " Jack" from the name, if present, and then it will add it back, so that all of the controls are named "(pin-name) Jack". Remove " Jack" from the Headphone pin name to spare some CPU cycles. This commit brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com Link: https://lore.kernel.org/r/20230517151516.343037-1-angelogioacchino.delregno@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org
This commit is contained in:
parent
bc8c537bd6
commit
cbbc0ec6de
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ struct mt8192_mt6359_priv {
|
|||
/* Headset jack detection DAPM pins */
|
||||
static struct snd_soc_jack_pin mt8192_jack_pins[] = {
|
||||
{
|
||||
.pin = "Headphone Jack",
|
||||
.pin = "Headphone",
|
||||
.mask = SND_JACK_HEADPHONE,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue