* [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap
@ 2016-02-20 2:56 Axel Lin
2016-02-20 9:36 ` anish kumar
2016-02-20 18:10 ` Applied "ASoC: max98926: Constify max98926_reg and max98926_regmap" to the asoc tree Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-02-20 2:56 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, Liam Girdwood, anish kumar
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/codecs/max98926.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
index 5245e10..8d14ada 100644
--- a/sound/soc/codecs/max98926.c
+++ b/sound/soc/codecs/max98926.c
@@ -40,7 +40,7 @@ static const char *const max98926_hpf_cutoff_txt[] = {
"200Hz", "400Hz", "800Hz",
};
-static struct reg_default max98926_reg[] = {
+static const struct reg_default max98926_reg[] = {
{ 0x0B, 0x00 }, /* IRQ Enable0 */
{ 0x0C, 0x00 }, /* IRQ Enable1 */
{ 0x0D, 0x00 }, /* IRQ Enable2 */
@@ -506,7 +506,7 @@ static struct snd_soc_codec_driver soc_codec_dev_max98926 = {
.num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets),
};
-static struct regmap_config max98926_regmap = {
+static const struct regmap_config max98926_regmap = {
.reg_bits = 8,
.val_bits = 8,
.max_register = MAX98926_VERSION,
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap
2016-02-20 2:56 [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap Axel Lin
@ 2016-02-20 9:36 ` anish kumar
2016-02-20 18:10 ` Applied "ASoC: max98926: Constify max98926_reg and max98926_regmap" to the asoc tree Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: anish kumar @ 2016-02-20 9:36 UTC (permalink / raw)
To: Axel Lin; +Cc: Linux-ALSA, Mark Brown, Liam Girdwood
Acked-by: anish kumar<yesanishhere@gmail.com>
On Fri, Feb 19, 2016 at 6:56 PM, Axel Lin <axel.lin@ingics.com> wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> sound/soc/codecs/max98926.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
> index 5245e10..8d14ada 100644
> --- a/sound/soc/codecs/max98926.c
> +++ b/sound/soc/codecs/max98926.c
> @@ -40,7 +40,7 @@ static const char *const max98926_hpf_cutoff_txt[] = {
> "200Hz", "400Hz", "800Hz",
> };
>
> -static struct reg_default max98926_reg[] = {
> +static const struct reg_default max98926_reg[] = {
> { 0x0B, 0x00 }, /* IRQ Enable0 */
> { 0x0C, 0x00 }, /* IRQ Enable1 */
> { 0x0D, 0x00 }, /* IRQ Enable2 */
> @@ -506,7 +506,7 @@ static struct snd_soc_codec_driver soc_codec_dev_max98926 = {
> .num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets),
> };
>
> -static struct regmap_config max98926_regmap = {
> +static const struct regmap_config max98926_regmap = {
> .reg_bits = 8,
> .val_bits = 8,
> .max_register = MAX98926_VERSION,
> --
> 2.1.4
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Applied "ASoC: max98926: Constify max98926_reg and max98926_regmap" to the asoc tree
2016-02-20 2:56 [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap Axel Lin
2016-02-20 9:36 ` anish kumar
@ 2016-02-20 18:10 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2016-02-20 18:10 UTC (permalink / raw)
To: Axel Lin, anish kumar, Mark Brown; +Cc: alsa-devel
The patch
ASoC: max98926: Constify max98926_reg and max98926_regmap
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 e354d86e551656668e879c833de9890b5053cc88 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Sat, 20 Feb 2016 10:56:58 +0800
Subject: [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: anish kumar <yesanishhere@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98926.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
index 5245e10..8d14ada 100644
--- a/sound/soc/codecs/max98926.c
+++ b/sound/soc/codecs/max98926.c
@@ -40,7 +40,7 @@ static const char *const max98926_hpf_cutoff_txt[] = {
"200Hz", "400Hz", "800Hz",
};
-static struct reg_default max98926_reg[] = {
+static const struct reg_default max98926_reg[] = {
{ 0x0B, 0x00 }, /* IRQ Enable0 */
{ 0x0C, 0x00 }, /* IRQ Enable1 */
{ 0x0D, 0x00 }, /* IRQ Enable2 */
@@ -506,7 +506,7 @@ static struct snd_soc_codec_driver soc_codec_dev_max98926 = {
.num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets),
};
-static struct regmap_config max98926_regmap = {
+static const struct regmap_config max98926_regmap = {
.reg_bits = 8,
.val_bits = 8,
.max_register = MAX98926_VERSION,
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-20 18:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 2:56 [PATCH] ASoC: max98926: Constify max98926_reg and max98926_regmap Axel Lin
2016-02-20 9:36 ` anish kumar
2016-02-20 18:10 ` Applied "ASoC: max98926: Constify max98926_reg and max98926_regmap" 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.