diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-25 16:13:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-13 00:20:11 +0800 |
commit | cae59c7b2185856522822e40260174c088ca5b11 (patch) | |
tree | 6d73ed3404210f847061e7b6c343123db26654c1 /sound/soc/codecs/wm8994.h | |
parent | d9a7666ff3a9e109844bf5aca5f50e3743f65840 (diff) | |
download | blackbird-op-linux-cae59c7b2185856522822e40260174c088ca5b11.tar.gz blackbird-op-linux-cae59c7b2185856522822e40260174c088ca5b11.zip |
ASoC: Remove WM8994 register cache
Now that the mfd is using the register map cache there's no need for the
CODEC driver to do any register cache management or any funny dances to
interact with the other drivers using the device so just remove the cache
initialisation and volatility information.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r-- | sound/soc/codecs/wm8994.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h index 6ef3f11878c6..c3a42474ab19 100644 --- a/sound/soc/codecs/wm8994.h +++ b/sound/soc/codecs/wm8994.h @@ -39,16 +39,6 @@ int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, int wm8958_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, wm8958_micdet_cb cb, void *cb_data); -#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]; -extern const u16 wm8994_reg_defaults[WM8994_CACHE_SIZE]; - int wm8958_aif_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); |