ASoC: mediatek: mt8192-mt6359: Remove " Jack" from Headphone pin name
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 17 May 2023 15:15:16 +0000 (17:15 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 May 2023 10:26:30 +0000 (19:26 +0900)
commitcbbc0ec6dea09c815f1d1ef0abaf3f2ec89ff11f
treea3c2c2afa157f4d04e9223de412b1a3164fcec3d
parentbc8c537bd68c6fa99f81609d912115e0a6499fb5
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
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c