mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 18:04:38 -04:00
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>
This commit is contained in:
@@ -60,7 +60,7 @@ snd-soc-wm8985-objs := wm8985.o
|
||||
snd-soc-wm8988-objs := wm8988.o
|
||||
snd-soc-wm8990-objs := wm8990.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-wm9705-objs := wm9705.o
|
||||
snd-soc-wm9712-objs := wm9712.o
|
||||
|
||||
1575
sound/soc/codecs/wm8994-tables.c
Normal file
1575
sound/soc/codecs/wm8994-tables.c
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -31,4 +31,13 @@
|
||||
int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user