diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-09-04 21:44:09 +0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-04 23:10:25 +0400 |
commit | 0e0f9b960a011a9e3815004f37cc475229170dfd (patch) | |
tree | 6b3a83cc7ad07956b23eb84ef0edbb6797ad2268 /sound/soc/codecs/adau17x1.h | |
parent | d7858bd647cda68bf832997a280a2f44aec01f1b (diff) | |
download | linux-0e0f9b960a011a9e3815004f37cc475229170dfd.tar.xz |
ASoC: adau17x1: Cleanup manual bias level transitions
Set the CODEC driver's suspend_bias_off flag rather than manually going to
SND_SOC_BIAS_OFF in suspend and SND_SOC_BIAS_STANDBY in resume. This makes
the code a bit shorter and cleaner.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau17x1.h')
-rw-r--r-- | sound/soc/codecs/adau17x1.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/adau17x1.h b/sound/soc/codecs/adau17x1.h index 3ffabaf4c7a8..e4a557fd7155 100644 --- a/sound/soc/codecs/adau17x1.h +++ b/sound/soc/codecs/adau17x1.h @@ -52,7 +52,6 @@ int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec, enum adau17x1_micbias_voltage micbias); bool adau17x1_readable_register(struct device *dev, unsigned int reg); bool adau17x1_volatile_register(struct device *dev, unsigned int reg); -int adau17x1_suspend(struct snd_soc_codec *codec); int adau17x1_resume(struct snd_soc_codec *codec); extern const struct snd_soc_dai_ops adau17x1_dai_ops; |