]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2770: Drop conflicting set_bias_level power setting
authorMartin Povišer <povik+lin@cutebit.org>
Mon, 8 Aug 2022 14:12:45 +0000 (16:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2022 19:44:41 +0000 (20:44 +0100)
commit202490897b2adf70585a25ed807cff717a4aacd0
tree9c76de73dc4f89a9943a76a4ac5f94f20c7b0992
parentac7308da7ed6d2db59c0c4caafa844f033880158
ASoC: tas2770: Drop conflicting set_bias_level power setting

The driver is setting the PWR_CTRL field in both the set_bias_level
callback and on DAPM events of the DAC widget (and also in the
mute_stream method). Drop the set_bias_level callback altogether as the
power setting it does is in conflict with the other code paths.

Fixes: 8c41a7cb5897 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220808141246.5749-4-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c