summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-01 20:41:57 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-03 18:41:53 +0100
commitc3753707991218aa2c18449a921847877533aa09 (patch)
tree10fcca7891e8885fe1fe5913bdac56f0c51567a1 /include/sound
parentASoC: Convert soc-jack code to use request_any_context_irq() (diff)
downloadlinux-c3753707991218aa2c18449a921847877533aa09.tar.xz
linux-c3753707991218aa2c18449a921847877533aa09.zip
ASoC: Push snd_soc_write() and snd_soc_read() into the source file
Facilitating adding trace type stuff. For a first pass add some dev_dbg() statements into them. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 5c3bce83f28a..aaf34d7cd95e 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -639,17 +639,9 @@ struct soc_enum {
};
/* codec IO */
-static inline unsigned int snd_soc_read(struct snd_soc_codec *codec,
- unsigned int reg)
-{
- return codec->driver->read(codec, reg);
-}
-
-static inline unsigned int snd_soc_write(struct snd_soc_codec *codec,
- unsigned int reg, unsigned int val)
-{
- return codec->driver->write(codec, reg, val);
-}
+unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg);
+unsigned int snd_soc_write(struct snd_soc_codec *codec,
+ unsigned int reg, unsigned int val);
/* device driver data */