alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>, Mark Brown <broonie@kernel.org>,
	"Gustavo A. R. Silva" <garsilva@embeddedor.com>
Subject: Applied "ASoC: dwc: constify snd_soc_dai_ops structure" to the asoc tree
Date: Mon, 17 Jul 2017 17:04:23 +0100	[thread overview]
Message-ID: <E1dX8VT-0004QF-Iq@debutante> (raw)
In-Reply-To: <b46ec58b34081fa70e5087d392e939f08488eb9c.1499974826.git.garsilva@embeddedor.com>

The patch

   ASoC: dwc: constify snd_soc_dai_ops structure

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 73a995ca90544914a97ed33a4f7baef44ad110d0 Mon Sep 17 00:00:00 2001
From: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Date: Thu, 13 Jul 2017 15:38:43 -0500
Subject: [PATCH] ASoC: dwc: constify snd_soc_dai_ops structure

This structure is only stored in the ops field of a snd_soc_dai_driver
structure. That field is declared const, so snd_soc_dai_ops structures
that have this property can be declared as const also.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/dwc/dwc-i2s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/dwc/dwc-i2s.c b/sound/soc/dwc/dwc-i2s.c
index 916067638180..eebe9d34e7a0 100644
--- a/sound/soc/dwc/dwc-i2s.c
+++ b/sound/soc/dwc/dwc-i2s.c
@@ -381,7 +381,7 @@ static int dw_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt)
 	return ret;
 }
 
-static struct snd_soc_dai_ops dw_i2s_dai_ops = {
+static const struct snd_soc_dai_ops dw_i2s_dai_ops = {
 	.startup	= dw_i2s_startup,
 	.shutdown	= dw_i2s_shutdown,
 	.hw_params	= dw_i2s_hw_params,
-- 
2.13.2

  reply	other threads:[~2017-07-17 16:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13 20:37 [PATCH 00/12] constify snd_soc_dai_ops structures Gustavo A. R. Silva
2017-07-13 20:37 ` [PATCH 01/12] ASoC: cs42l42: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: cs42l42: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:37 ` [PATCH 02/12] ASoC: rt5663: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: rt5663: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:37 ` [PATCH 03/12] ASoC: rt5616: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: rt5616: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:37 ` [PATCH 04/12] ASoC: msm8916-wcd-analog: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: msm8916-wcd-analog: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:37 ` [PATCH 05/12] ASoC: max98926: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: max98926: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:37 ` [PATCH 06/12] ASoC: rt5514: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: rt5514: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:38 ` [PATCH 07/12] ASoC: codecs: msm8916-wcd-digital: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: codecs: msm8916-wcd-digital: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:38 ` [PATCH 08/12] ASoC: max9867: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: max9867: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:38 ` [PATCH 09/12] ASoC: rk3036: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: rk3036: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:38 ` [PATCH 10/12] ASoC: hdac_hdmi: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: hdac_hdmi: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown
2017-07-13 20:38 ` [PATCH 11/12] ASoC: dwc: constify snd_soc_dai_ops structure Gustavo A. R. Silva
2017-07-17 16:04   ` Mark Brown [this message]
2017-07-13 20:38 ` [PATCH 12/12] ASoC: tas5720: " Gustavo A. R. Silva
2017-07-17 16:04   ` Applied "ASoC: tas5720: constify snd_soc_dai_ops structure" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1dX8VT-0004QF-Iq@debutante \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=garsilva@embeddedor.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).