Commit c969f19f authored by Mark Brown's avatar Mark Brown

ASoC: Compress WM8962 register access map

Reduce the source code size still futher by only specifying non-zero
rows in the WM8962 access map.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent f57f6c04
...@@ -49,7 +49,7 @@ snd-soc-wm8940-objs := wm8940.o ...@@ -49,7 +49,7 @@ snd-soc-wm8940-objs := wm8940.o
snd-soc-wm8955-objs := wm8955.o snd-soc-wm8955-objs := wm8955.o
snd-soc-wm8960-objs := wm8960.o snd-soc-wm8960-objs := wm8960.o
snd-soc-wm8961-objs := wm8961.o snd-soc-wm8961-objs := wm8961.o
snd-soc-wm8962-objs := wm8962.o wm8962-tables.o snd-soc-wm8962-objs := wm8962.o
snd-soc-wm8971-objs := wm8971.o snd-soc-wm8971-objs := wm8971.o
snd-soc-wm8974-objs := wm8974.o snd-soc-wm8974-objs := wm8974.o
snd-soc-wm8978-objs := wm8978.o snd-soc-wm8978-objs := wm8978.o
......
This diff is collapsed.
This diff is collapsed.
...@@ -3775,15 +3775,6 @@ ...@@ -3775,15 +3775,6 @@
#define WM8962_VSS_ENA_SHIFT 0 /* VSS_ENA */ #define WM8962_VSS_ENA_SHIFT 0 /* VSS_ENA */
#define WM8962_VSS_ENA_WIDTH 1 /* VSS_ENA */ #define WM8962_VSS_ENA_WIDTH 1 /* VSS_ENA */
struct wm8962_reg_access {
u16 read;
u16 write;
u16 vol;
};
extern
const struct wm8962_reg_access wm8962_reg_access[WM8962_MAX_REGISTER + 1];
int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack); int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
#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