Commit 7b306dae authored by Mark Brown's avatar Mark Brown

ASoC: Move WM8994 read/write access data into separate file

Makes the WM8994 driver file itself substantially smaller.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 96b101ef
...@@ -60,7 +60,7 @@ snd-soc-wm8985-objs := wm8985.o ...@@ -60,7 +60,7 @@ snd-soc-wm8985-objs := wm8985.o
snd-soc-wm8988-objs := wm8988.o snd-soc-wm8988-objs := wm8988.o
snd-soc-wm8990-objs := wm8990.o snd-soc-wm8990-objs := wm8990.o
snd-soc-wm8993-objs := wm8993.o snd-soc-wm8993-objs := wm8993.o
snd-soc-wm8994-objs := wm8994.o snd-soc-wm8994-objs := wm8994.o wm8994-tables.o
snd-soc-wm9081-objs := wm9081.o snd-soc-wm9081-objs := wm9081.o
snd-soc-wm9705-objs := wm9705.o snd-soc-wm9705-objs := wm9705.o
snd-soc-wm9712-objs := wm9712.o snd-soc-wm9712-objs := wm9712.o
......
This diff is collapsed.
This diff is collapsed.
...@@ -31,4 +31,13 @@ ...@@ -31,4 +31,13 @@
int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
int micbias, int det, int shrt); int micbias, int det, int shrt);
#define WM8994_CACHE_SIZE 1570
struct wm8994_access_mask {
unsigned short readable; /* Mask of readable bits */
unsigned short writable; /* Mask of writable bits */
};
extern const struct wm8994_access_mask wm8994_access_masks[WM8994_CACHE_SIZE];
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment