]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:07:41 +0000 (10:07 +0100)
commit92cc64394bc9a3ec580e458fd24ae183b327c77b
treeb208433b22361675f0c265b727c2632713035963
parent304c38230dfdd77cb478752e516fecdbb63c8b53
ASoC: tas2770: Add missing bias level power states

[ Upstream commit 4272caf34aa4699eca8e6e7f4a8e5ea2bde275c9 ]

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: 1a476abc723e6 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2770.c