ASoC: tas2770: Set correct FSYNC polarity
authorMartin Povišer <povik+lin@cutebit.org>
Mon, 8 Aug 2022 14:12:43 +0000 (16:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:40:20 +0000 (11:40 +0200)
commit480bf1e299a43366c6047eb93afb8e7a8787027d
treea4ca0d9d541bc28c9d14fc1b850791ee54605620
parentb318b9dd2ac67f39d0338ce563879d1f59a0347a
ASoC: tas2770: Set correct FSYNC polarity

commit e9ac31f0a5d0e246b046c20348954519f91a297f upstream.

Fix setting of FSYNC polarity for DAI formats other than I2S. Also
add support for polarity inversion.

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-2-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
sound/soc/codecs/tas2770.h