All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: nau8824: rename controls to match DAPM controls
@ 2017-04-27  3:15 John Hsu
  2017-04-30 12:58 ` Applied "ASoC: nau8824: rename controls to match DAPM controls" to the asoc tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: John Hsu @ 2017-04-27  3:15 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, WTLI, John Hsu, lgirdwood, YHCHuang, CTLIN0, John Hsu

Rename the name of kcontrols to match up the DAPM
widget controls.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: John Hsu <supercraig0719@gmail.com>
---
 sound/soc/codecs/nau8824.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/sound/soc/codecs/nau8824.c b/sound/soc/codecs/nau8824.c
index 18552ed..cd358be0 100644
--- a/sound/soc/codecs/nau8824.c
+++ b/sound/soc/codecs/nau8824.c
@@ -362,27 +362,27 @@ static const struct snd_kcontrol_new nau8824_snd_controls[] = {
 	SOC_ENUM("ADC Decimation Rate", nau8824_adc_decimation_enum),
 	SOC_ENUM("DAC Oversampling Rate", nau8824_dac_oversampl_enum),
 
-	SOC_SINGLE_TLV("Speaker Right from DACR Volume",
+	SOC_SINGLE_TLV("Speaker Right DACR Volume",
 		NAU8824_REG_CLASSD_GAIN_1, 8, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Left from DACL Volume",
+	SOC_SINGLE_TLV("Speaker Left DACL Volume",
 		NAU8824_REG_CLASSD_GAIN_2, 0, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Left from DACR Volume",
+	SOC_SINGLE_TLV("Speaker Left DACR Volume",
 		NAU8824_REG_CLASSD_GAIN_1, 0, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Right from DACL Volume",
+	SOC_SINGLE_TLV("Speaker Right DACL Volume",
 		NAU8824_REG_CLASSD_GAIN_2, 8, 0x1f, 0, spk_vol_tlv),
 
-	SOC_SINGLE_TLV("Headphone Right from DACR Volume",
+	SOC_SINGLE_TLV("Headphone Right DACR Volume",
 		NAU8824_REG_ATT_PORT0, 8, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Left from DACL Volume",
+	SOC_SINGLE_TLV("Headphone Left DACL Volume",
 		NAU8824_REG_ATT_PORT0, 0, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Right from DACL Volume",
+	SOC_SINGLE_TLV("Headphone Right DACL Volume",
 		NAU8824_REG_ATT_PORT1, 8, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Left from DACR Volume",
+	SOC_SINGLE_TLV("Headphone Left DACR Volume",
 		NAU8824_REG_ATT_PORT1, 0, 0x1f, 0, hp_vol_tlv),
 
-	SOC_SINGLE_TLV("Mic1 Volume", NAU8824_REG_FEPGA_II,
+	SOC_SINGLE_TLV("MIC1 Volume", NAU8824_REG_FEPGA_II,
 		NAU8824_FEPGA_GAINL_SFT, 0x12, 0, mic_vol_tlv),
-	SOC_SINGLE_TLV("Mic2 Volume", NAU8824_REG_FEPGA_II,
+	SOC_SINGLE_TLV("MIC2 Volume", NAU8824_REG_FEPGA_II,
 		NAU8824_FEPGA_GAINR_SFT, 0x12, 0, mic_vol_tlv),
 
 	SOC_SINGLE_TLV("DMIC1 Volume", NAU8824_REG_ADC_CH0_DGAIN_CTRL,
-- 
2.6.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Applied "ASoC: nau8824: rename controls to match DAPM controls" to the asoc tree
  2017-04-27  3:15 [PATCH] ASoC: nau8824: rename controls to match DAPM controls John Hsu
@ 2017-04-30 12:58 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2017-04-30 12:58 UTC (permalink / raw)
  To: John Hsu; +Cc: alsa-devel, WTLI, John Hsu, lgirdwood, YHCHuang, broonie, CTLIN0

The patch

   ASoC: nau8824: rename controls to match DAPM controls

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

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

>From 25535f7e0b418fe8b2251008cfcb05d272c2e8e0 Mon Sep 17 00:00:00 2001
From: John Hsu <supercraig0719@gmail.com>
Date: Thu, 27 Apr 2017 11:15:37 +0800
Subject: [PATCH] ASoC: nau8824: rename controls to match DAPM controls

Rename the name of kcontrols to match up the DAPM
widget controls.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: John Hsu <supercraig0719@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/nau8824.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/sound/soc/codecs/nau8824.c b/sound/soc/codecs/nau8824.c
index 18552ed43924..cd358be027dd 100644
--- a/sound/soc/codecs/nau8824.c
+++ b/sound/soc/codecs/nau8824.c
@@ -362,27 +362,27 @@ static const struct snd_kcontrol_new nau8824_snd_controls[] = {
 	SOC_ENUM("ADC Decimation Rate", nau8824_adc_decimation_enum),
 	SOC_ENUM("DAC Oversampling Rate", nau8824_dac_oversampl_enum),
 
-	SOC_SINGLE_TLV("Speaker Right from DACR Volume",
+	SOC_SINGLE_TLV("Speaker Right DACR Volume",
 		NAU8824_REG_CLASSD_GAIN_1, 8, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Left from DACL Volume",
+	SOC_SINGLE_TLV("Speaker Left DACL Volume",
 		NAU8824_REG_CLASSD_GAIN_2, 0, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Left from DACR Volume",
+	SOC_SINGLE_TLV("Speaker Left DACR Volume",
 		NAU8824_REG_CLASSD_GAIN_1, 0, 0x1f, 0, spk_vol_tlv),
-	SOC_SINGLE_TLV("Speaker Right from DACL Volume",
+	SOC_SINGLE_TLV("Speaker Right DACL Volume",
 		NAU8824_REG_CLASSD_GAIN_2, 8, 0x1f, 0, spk_vol_tlv),
 
-	SOC_SINGLE_TLV("Headphone Right from DACR Volume",
+	SOC_SINGLE_TLV("Headphone Right DACR Volume",
 		NAU8824_REG_ATT_PORT0, 8, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Left from DACL Volume",
+	SOC_SINGLE_TLV("Headphone Left DACL Volume",
 		NAU8824_REG_ATT_PORT0, 0, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Right from DACL Volume",
+	SOC_SINGLE_TLV("Headphone Right DACL Volume",
 		NAU8824_REG_ATT_PORT1, 8, 0x1f, 0, hp_vol_tlv),
-	SOC_SINGLE_TLV("Headphone Left from DACR Volume",
+	SOC_SINGLE_TLV("Headphone Left DACR Volume",
 		NAU8824_REG_ATT_PORT1, 0, 0x1f, 0, hp_vol_tlv),
 
-	SOC_SINGLE_TLV("Mic1 Volume", NAU8824_REG_FEPGA_II,
+	SOC_SINGLE_TLV("MIC1 Volume", NAU8824_REG_FEPGA_II,
 		NAU8824_FEPGA_GAINL_SFT, 0x12, 0, mic_vol_tlv),
-	SOC_SINGLE_TLV("Mic2 Volume", NAU8824_REG_FEPGA_II,
+	SOC_SINGLE_TLV("MIC2 Volume", NAU8824_REG_FEPGA_II,
 		NAU8824_FEPGA_GAINR_SFT, 0x12, 0, mic_vol_tlv),
 
 	SOC_SINGLE_TLV("DMIC1 Volume", NAU8824_REG_ADC_CH0_DGAIN_CTRL,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-30 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27  3:15 [PATCH] ASoC: nau8824: rename controls to match DAPM controls John Hsu
2017-04-30 12:58 ` Applied "ASoC: nau8824: rename controls to match DAPM controls" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.