aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-16 15:11:40 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-19 06:44:41 -0500
commit7b306dae22ca377ea0020261ef13aea85b8f5f3f (patch)
tree5c051b696712cc6be085466de285418784da5cdf /sound/soc/codecs/wm8994.h
parent96b101efae0ab68b6510fdbb30384849d211da2c (diff)
ASoC: Move WM8994 read/write access data into separate file
Makes the WM8994 driver file itself substantially smaller. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index d8dce260c430..b8b3166e1f03 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -31,4 +31,13 @@
31int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, 31int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
32 int micbias, int det, int shrt); 32 int micbias, int det, int shrt);
33 33
34#define WM8994_CACHE_SIZE 1570
35
36struct wm8994_access_mask {
37 unsigned short readable; /* Mask of readable bits */
38 unsigned short writable; /* Mask of writable bits */
39};
40
41extern const struct wm8994_access_mask wm8994_access_masks[WM8994_CACHE_SIZE];
42
34#endif 43#endif