linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: max98373: Fixes a typo in max98373_feedback_get
@ 2021-01-27 13:56 Judy Hsiao
  2021-01-27 17:13 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Judy Hsiao @ 2021-01-27 13:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Taniya Das, alsa-devel, Banajit Goswami, Liam Girdwood,
	Rohit kumar, Patrick Lai, Andy Gross, dgreid, devicetree,
	Judy Hsiao, tzungbi, Stephan Gerhold, linux-arm-msm, Rob Herring,
	Jaroslav Kysela, Bjorn Andersson, linux-arm-kernel, dianders,
	cychiang, Takashi Iwai, Mark Brown, Srini Kandagatla

From: Judy Hsiao <judyhsiao@google.com>

The snd_soc_put_volsw in max98373_feedback_get is a typo, change it
to snd_soc_get_volsw.

Fixes: 349dd23931d1 ("ASoC: max98373: don't access volatile registers in bias level off")
Signed-off-by: Judy Hsiao <judyhsiao@google.com>
---
 sound/soc/codecs/max98373.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 31d571d4fac1c..746c829312b87 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -190,7 +190,7 @@ static int max98373_feedback_get(struct snd_kcontrol *kcontrol,
 		}
 	}
 
-	return snd_soc_put_volsw(kcontrol, ucontrol);
+	return snd_soc_get_volsw(kcontrol, ucontrol);
 }
 
 static const struct snd_kcontrol_new max98373_snd_controls[] = {
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] ASoC: max98373: Fixes a typo in max98373_feedback_get
  2021-01-27 13:56 [PATCH v2] ASoC: max98373: Fixes a typo in max98373_feedback_get Judy Hsiao
@ 2021-01-27 17:13 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-01-27 17:13 UTC (permalink / raw)
  To: linux-kernel, Judy Hsiao
  Cc: Taniya Das, devicetree, alsa-devel, Banajit Goswami, Judy Hsiao,
	cychiang, Stephan Gerhold, Liam Girdwood, linux-arm-msm,
	Patrick Lai, Takashi Iwai, dianders, tzungbi, Bjorn Andersson,
	Rob Herring, Srini Kandagatla, Andy Gross, Rohit kumar, dgreid,
	Jaroslav Kysela, linux-arm-kernel

On Wed, 27 Jan 2021 21:56:20 +0800, Judy Hsiao wrote:
> The snd_soc_put_volsw in max98373_feedback_get is a typo, change it
> to snd_soc_get_volsw.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: max98373: Fixes a typo in max98373_feedback_get
      commit: ded055eea679139f11bd808795d9697b430d1c7d

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-01-27 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 13:56 [PATCH v2] ASoC: max98373: Fixes a typo in max98373_feedback_get Judy Hsiao
2021-01-27 17:13 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).