diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 14 |
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 { | |||
639 | }; | 639 | }; |
640 | 640 | ||
641 | /* codec IO */ | 641 | /* codec IO */ |
642 | static inline unsigned int snd_soc_read(struct snd_soc_codec *codec, | 642 | unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg); |
643 | unsigned int reg) | 643 | unsigned int snd_soc_write(struct snd_soc_codec *codec, |
644 | { | 644 | unsigned int reg, unsigned int val); |
645 | return codec->driver->read(codec, reg); | ||
646 | } | ||
647 | |||
648 | static inline unsigned int snd_soc_write(struct snd_soc_codec *codec, | ||
649 | unsigned int reg, unsigned int val) | ||
650 | { | ||
651 | return codec->driver->write(codec, reg, val); | ||
652 | } | ||
653 | 645 | ||
654 | /* device driver data */ | 646 | /* device driver data */ |
655 | 647 | ||