mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
ASoC: wm8962: Clean up register dump cruft
No longer needed with regmap. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
07fabd1bfb
commit
5aa9b858ef
@ -3630,20 +3630,11 @@ static int wm8962_remove(struct snd_soc_codec *codec)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wm8962_soc_volatile(struct snd_soc_codec *codec,
|
||||
unsigned int reg)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
static struct snd_soc_codec_driver soc_codec_dev_wm8962 = {
|
||||
.probe = wm8962_probe,
|
||||
.remove = wm8962_remove,
|
||||
.set_bias_level = wm8962_set_bias_level,
|
||||
.set_pll = wm8962_set_fll,
|
||||
.reg_cache_size = WM8962_MAX_REGISTER,
|
||||
.volatile_register = wm8962_soc_volatile,
|
||||
.idle_bias_off = true,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user