diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2023-05-17 17:15:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-05-18 19:26:30 +0900 |
commit | cbbc0ec6dea09c815f1d1ef0abaf3f2ec89ff11f (patch) | |
tree | a3c2c2afa157f4d04e9223de412b1a3164fcec3d | |
parent | bc8c537bd68c6fa99f81609d912115e0a6499fb5 (diff) |
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 <[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]
-rw-r--r-- | sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c index 5e163e23a207..4e0d5bf12b47 100644 --- a/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c +++ b/sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c @@ -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, }, { |