public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: wm_adsp: Fix type warning in sprintf
@ 2017-05-24  9:59 Richard Fitzgerald
  2017-05-24  9:59 ` [PATCH 2/2] ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops Richard Fitzgerald
  2017-05-24 17:42 ` Applied "ASoC: wm_adsp: Fix type warning in sprintf" " Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Fitzgerald @ 2017-05-24  9:59 UTC (permalink / raw)
  To: broonie; +Cc: patches, alsa-devel, linux-kernel

The shift member of struct soc_mixer_control is unsigned int.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm_adsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 20695b6..a7dc760 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -2654,7 +2654,7 @@ int wm_adsp2_preloader_put(struct snd_kcontrol *kcontrol,
 		(struct soc_mixer_control *)kcontrol->private_value;
 	char preload[32];
 
-	snprintf(preload, ARRAY_SIZE(preload), "DSP%d Preload", mc->shift);
+	snprintf(preload, ARRAY_SIZE(preload), "DSP%u Preload", mc->shift);
 
 	dsp->preloaded = ucontrol->value.integer.value[0];
 
-- 
1.9.1

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

* [PATCH 2/2] ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops
  2017-05-24  9:59 [PATCH 1/2] ASoC: wm_adsp: Fix type warning in sprintf Richard Fitzgerald
@ 2017-05-24  9:59 ` Richard Fitzgerald
  2017-05-24 17:42   ` Applied "ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops" to the asoc tree Mark Brown
  2017-05-24 17:42 ` Applied "ASoC: wm_adsp: Fix type warning in sprintf" " Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Richard Fitzgerald @ 2017-05-24  9:59 UTC (permalink / raw)
  To: broonie; +Cc: patches, alsa-devel, linux-kernel

The xinfo member of struct wm_coeff_ctl_ops is never used.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm_adsp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index a7dc760..5aff83b 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -482,8 +482,6 @@ struct wm_coeff_ctl_ops {
 		    struct snd_ctl_elem_value *ucontrol);
 	int (*xput)(struct snd_kcontrol *kcontrol,
 		    struct snd_ctl_elem_value *ucontrol);
-	int (*xinfo)(struct snd_kcontrol *kcontrol,
-		     struct snd_ctl_elem_info *uinfo);
 };
 
 struct wm_coeff_ctl {
-- 
1.9.1

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

* Applied "ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops" to the asoc tree
  2017-05-24  9:59 ` [PATCH 2/2] ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops Richard Fitzgerald
@ 2017-05-24 17:42   ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-05-24 17:42 UTC (permalink / raw)
  To: Richard Fitzgerald
  Cc: Mark Brown, broonie, alsa-devel, patches, linux-kernel,
	alsa-devel

The patch

   ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops

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 f6db09488f58372909728cea5a7c063ebf78f386 Mon Sep 17 00:00:00 2001
From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Date: Wed, 24 May 2017 10:59:39 +0100
Subject: [PATCH] ASoC: wm_adsp: Remove unused member of struct
 wm_coeff_ctl_ops

The xinfo member of struct wm_coeff_ctl_ops is never used.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/wm_adsp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index a7dc76030ee4..5aff83be375c 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -482,8 +482,6 @@ struct wm_coeff_ctl_ops {
 		    struct snd_ctl_elem_value *ucontrol);
 	int (*xput)(struct snd_kcontrol *kcontrol,
 		    struct snd_ctl_elem_value *ucontrol);
-	int (*xinfo)(struct snd_kcontrol *kcontrol,
-		     struct snd_ctl_elem_info *uinfo);
 };
 
 struct wm_coeff_ctl {
-- 
2.11.0

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

* Applied "ASoC: wm_adsp: Fix type warning in sprintf" to the asoc tree
  2017-05-24  9:59 [PATCH 1/2] ASoC: wm_adsp: Fix type warning in sprintf Richard Fitzgerald
  2017-05-24  9:59 ` [PATCH 2/2] ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops Richard Fitzgerald
@ 2017-05-24 17:42 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2017-05-24 17:42 UTC (permalink / raw)
  To: Richard Fitzgerald
  Cc: Mark Brown, broonie, alsa-devel, patches, linux-kernel,
	alsa-devel

The patch

   ASoC: wm_adsp: Fix type warning in sprintf

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 6298117a5c5c5c5217b59640d6df7fe078fa7d88 Mon Sep 17 00:00:00 2001
From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Date: Wed, 24 May 2017 10:59:38 +0100
Subject: [PATCH] ASoC: wm_adsp: Fix type warning in sprintf

The shift member of struct soc_mixer_control is unsigned int.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/wm_adsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 20695b691aff..a7dc76030ee4 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -2654,7 +2654,7 @@ int wm_adsp2_preloader_put(struct snd_kcontrol *kcontrol,
 		(struct soc_mixer_control *)kcontrol->private_value;
 	char preload[32];
 
-	snprintf(preload, ARRAY_SIZE(preload), "DSP%d Preload", mc->shift);
+	snprintf(preload, ARRAY_SIZE(preload), "DSP%u Preload", mc->shift);
 
 	dsp->preloaded = ucontrol->value.integer.value[0];
 
-- 
2.11.0

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

end of thread, other threads:[~2017-05-24 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-24  9:59 [PATCH 1/2] ASoC: wm_adsp: Fix type warning in sprintf Richard Fitzgerald
2017-05-24  9:59 ` [PATCH 2/2] ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops Richard Fitzgerald
2017-05-24 17:42   ` Applied "ASoC: wm_adsp: Remove unused member of struct wm_coeff_ctl_ops" to the asoc tree Mark Brown
2017-05-24 17:42 ` Applied "ASoC: wm_adsp: Fix type warning in sprintf" " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox