diff options
author | Sergej Sawazki <sergej@taudac.com> | 2017-11-03 19:34:28 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-03 18:46:40 +0000 |
commit | 81b3cc55afc3cde54df98f93fbd4704fab7cc0e0 (patch) | |
tree | 575e3406f099ea7d4636146d37e871c94e0af9fa /sound/usb/line6 | |
parent | eaf8abcfb21ecb5f6460d0505b03da4c3b7eee98 (diff) | |
download | linux-stable-81b3cc55afc3cde54df98f93fbd4704fab7cc0e0.tar.gz linux-stable-81b3cc55afc3cde54df98f93fbd4704fab7cc0e0.tar.bz2 linux-stable-81b3cc55afc3cde54df98f93fbd4704fab7cc0e0.zip |
ASoC: wm8741: Fix setting BCLK and LRCLK polarity
After checking the code and the datasheet, it seems like we are handling
the clock inversion (SND_SOC_DAIFMT_NB_IF and SND_SOC_DAIFMT_IB_IF) not
correctly.
>From the datasheet (Table 58):
R5 Format Control, BITS[5:4], [BCP:LRP]:
(0) 00 = normal BCLK, normal LRCLK
(1) 01 = normal BCLK, inverted LRCLK <-- Fix this
(2) 10 = inverted BCLK, normal LRCLK
(3) 11 = inverted BCLK, inverted LRCLK <-- Fix this
Signed-off-by: Sergej Sawazki <sergej@taudac.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/line6')
0 files changed, 0 insertions, 0 deletions