aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8996.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-29 12:28:39 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-29 18:35:21 -0500
commit6449c9f858cd68efc93b1d71455e5e475dab69e4 (patch)
tree7004a9177cdda98eb21bceed469fb98265f9cd0f /sound/soc/codecs/wm8996.c
parent1dd4c8e42aa08f21de3cdb4f7aa0841fbd7e3f58 (diff)
ASoC: wm8996: Remove stub register cache
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r--sound/soc/codecs/wm8996.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index 1226f92bbb03..9376b19941b6 100644
--- a/sound/soc/codecs/wm8996.c
+++ b/sound/soc/codecs/wm8996.c
@@ -3054,12 +3054,6 @@ static int wm8996_remove(struct snd_soc_codec *codec)
3054 return 0; 3054 return 0;
3055} 3055}
3056 3056
3057static int wm8996_soc_volatile_register(struct snd_soc_codec *codec,
3058 unsigned int reg)
3059{
3060 return true;
3061}
3062
3063static struct snd_soc_codec_driver soc_codec_dev_wm8996 = { 3057static struct snd_soc_codec_driver soc_codec_dev_wm8996 = {
3064 .probe = wm8996_probe, 3058 .probe = wm8996_probe,
3065 .remove = wm8996_remove, 3059 .remove = wm8996_remove,
@@ -3073,8 +3067,6 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8996 = {
3073 .dapm_routes = wm8996_dapm_routes, 3067 .dapm_routes = wm8996_dapm_routes,
3074 .num_dapm_routes = ARRAY_SIZE(wm8996_dapm_routes), 3068 .num_dapm_routes = ARRAY_SIZE(wm8996_dapm_routes),
3075 .set_pll = wm8996_set_fll, 3069 .set_pll = wm8996_set_fll,
3076 .reg_cache_size = WM8996_MAX_REGISTER,
3077 .volatile_register = wm8996_soc_volatile_register,
3078}; 3070};
3079 3071
3080#define WM8996_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\ 3072#define WM8996_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |\