diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-19 21:49:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-20 12:18:32 +0200 |
commit | ff344dcd80cf8a27eb6cb9b38d810fe5e1b6c34f (patch) | |
tree | 090625b3e1d4ff66abb5d6b7c786c93ec7a7eab6 /sound/soc/codecs/alc5623.c | |
parent | ASoC: max9850: Replace direct snd_soc_codec dapm field access (diff) | |
download | linux-ff344dcd80cf8a27eb6cb9b38d810fe5e1b6c34f.tar.xz linux-ff344dcd80cf8a27eb6cb9b38d810fe5e1b6c34f.zip |
ASoC: alc5623: Replace direct snd_soc_codec dapm field access
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/alc5623.c')
-rw-r--r-- | sound/soc/codecs/alc5623.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c index e92b5ae3cab2..0fc24e0d518c 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); |