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: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
@@ -3775,15 +3775,6 @@
|
||||
#define WM8962_VSS_ENA_SHIFT 0 /* 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);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user