]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2770: Add missing bias level power states
authorDan Murphy <dmurphy@ti.com>
Fri, 18 Sep 2020 19:05:41 +0000 (14:05 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 19:40:52 +0000 (20:40 +0100)
commit452abb2c8b81be7d9fe401840ff42d1b7b21881a
treee1ce5e4f5ee2dc0fcf8e1a7a251c20e3daa7f731
parentb4835220b19e8dd2b8d4749555205a3f39b6edc1
ASoC: tas2770: Add missing bias level power states

Add the BIAS_STANDBY and BIAS_PREPARE to the set_bias_level or else the
driver will return -EINVAL which is not correct as they are valid
states.

Fixes: 8c41a7cb58973 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200918190548.12598-2-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c