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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:40:20 +0000 (11:40 +0200)
commit8eab21065492dbb6ad4b96121c7ddea8f2be35da
tree5612f70049306eb724a1416f5dd9f2e39dbe896e
parent0a63bc250cc1185f5653b9e1acfdfe6dc682aa8e
ASoC: tas2770: Drop conflicting set_bias_level power setting

commit 482c23fbc7e9bf5a7a74defd0735d5346215db58 upstream.

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: 1a476abc723e ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/tas2770.c