]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: tlv320aic31xx: Handle inverted BCLK in non-DSP modes
authorAndrew F. Davis <afd@ti.com>
Thu, 5 Sep 2019 16:17:47 +0000 (10:17 -0600)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:10 +0000 (13:16 +0100)
commita707fcfe33896388d62a83017719031c62ab737d
tree8f91d57238f7d2b3657ad5184749f74672cf72ee
parentfc2e096f0cd774ef4e87180472ee6ae8722789c1
ASoC: tlv320aic31xx: Handle inverted BCLK in non-DSP modes

BugLink: https://bugs.launchpad.net/bugs/1853519
commit dcb407b257af06fa58b0544ec01ec9e0d3927e02 upstream

Currently BCLK inverting is only handled when the DAI format is
DSP, but the BCLK may be inverted in any supported mode. Without
this using this CODEC in any other mode than DSP with the BCLK
inverted leads to bad sampling timing and very poor audio quality.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/soc/codecs/tlv320aic31xx.c