summaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-26 20:57:54 +0100
committerMark Brown <broonie@kernel.org>2014-11-27 12:15:27 +0100
commitaabb87f00304764dffe097e3b65f6a1862c2c2b5 (patch)
tree0ad5ffa9139ce5d7e75207ac22907d1a56cb540b /sound/usb/quirks.c
parentASoC: tlv320aic23: add dependencies on I2C/SPI_MASTER (diff)
downloadlinux-aabb87f00304764dffe097e3b65f6a1862c2c2b5.tar.xz
linux-aabb87f00304764dffe097e3b65f6a1862c2c2b5.zip
ASoC: tlv320aic23: 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. Since the ASoC core now takes care of setting the bias level to SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually anymore either. The manual transition to SND_SOC_BIAS_STANDBY at the end of CODEC probe() can also be removed as the core will automatically do this after the CODEC has been probed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions