summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm_adsp.h
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2013-08-01 10:11:28 (GMT)
committerMark Brown <broonie@linaro.org>2013-08-01 10:58:46 (GMT)
commit92bb4c32708ee3e1d6eb0e185d678dab35152daf (patch)
tree9a9da804625ca03c0a9a45d74b6edf737ea84fad /sound/soc/codecs/wm_adsp.h
parent81ad93ecfda64cb37129d29adb384affd0d0fa5b (diff)
downloadlinux-fsl-qoriq-92bb4c32708ee3e1d6eb0e185d678dab35152daf.tar.xz
ASoC: wm_adsp: Sanitize parameter passing
No need to hold on to the `codec' pointer. We can use the `dsp' pointer and grab all the information we need from there. This makes the parameters for the functions a bit more sane and idiomatic. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r--sound/soc/codecs/wm_adsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index 64087fb..d018dea 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -39,6 +39,7 @@ struct wm_adsp {
int type;
struct device *dev;
struct regmap *regmap;
+ struct snd_soc_card *card;
int base;
int sysclk_reg;