Message ID | 20230517151516.343037-1-angelogioacchino.delregno@collabora.com (mailing list archive) |
---|---|
State | Accepted |
Commit | cbbc0ec6dea09c815f1d1ef0abaf3f2ec89ff11f |
Headers | show |
Series | ASoC: mediatek: mt8192-mt6359: Remove " Jack" from Headphone pin name | expand |
Reviewed-by: David Heidelberg <david@ixit.cz> On 17/05/2023 17:15, AngeloGioacchino Del Regno wrote: > 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> > --- > sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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, > }, > {
On Wed, 17 May 2023 17:15:16 +0200, AngeloGioacchino Del Regno wrote: > 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. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: mediatek: mt8192-mt6359: Remove " Jack" from Headphone pin name commit: cbbc0ec6dea09c815f1d1ef0abaf3f2ec89ff11f All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
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, }, {
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> --- sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)