alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ASoC: alc5623: Replace direct snd_soc_codec dapm field access
@ 2015-05-19 19:49 Lars-Peter Clausen
  2015-05-19 19:49 ` [PATCH 2/7] ASoC: rt286: " Lars-Peter Clausen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Lars-Peter Clausen @ 2015-05-19 19:49 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Oder Chiou, Bard Liao, alsa-devel, Lars-Peter Clausen

The dapm field of the snd_soc_codec struct is eventually going to be
removed, in preparation for this replace all manual access to
codec->dapm with snd_soc_codec_get_dapm().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
Full series depends on topic/dapm
---
 sound/soc/codecs/alc5623.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c
index e92b5ae..0fc24e0 100644
--- a/sound/soc/codecs/alc5623.c
+++ b/sound/soc/codecs/alc5623.c
@@ -893,7 +893,7 @@ static int alc5623_resume(struct snd_soc_codec *codec)
 static int alc5623_probe(struct snd_soc_codec *codec)
 {
 	struct alc5623_priv *alc5623 = snd_soc_codec_get_drvdata(codec);
-	struct snd_soc_dapm_context *dapm = &codec->dapm;
+	struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
 
 	alc5623_reset(codec);
 
-- 
1.8.0

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

end of thread, other threads:[~2015-05-20 10:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 19:49 [PATCH 1/7] ASoC: alc5623: Replace direct snd_soc_codec dapm field access Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 2/7] ASoC: rt286: " Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 3/7] ASoC: rt5631: " Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 4/7] ASoC: rt5640: " Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 5/7] ASoC: rt5651: " Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 6/7] ASoC: rt5670: " Lars-Peter Clausen
2015-05-19 19:49 ` [PATCH 7/7] ASoC: rt5677: " Lars-Peter Clausen
2015-05-20 10:20 ` [PATCH 1/7] ASoC: alc5623: " 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).