diff options
author | Richard Fitzgerald <[email protected]> | 2021-10-15 14:36:05 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-10-15 16:14:13 +0100 |
commit | 6e6825801ab926360f7f4f2dbcfd107d5ab8f025 (patch) | |
tree | b9d158f711b00e8cb928e9bfaa87a1d4fb721725 /scripts/gdb/linux/mm.py | |
parent | 06441c82f0cd836402ca5fa4162d28ed07cfb0ed (diff) |
ASoC: cs42l42: Always configure both ASP TX channels
An I2S frame always has two slots (left and right) even when sending
mono. The right channel (channel 2) of ASP TX will always have the
same bit width as the left channel and will always be on the high
phase of LRCLK.
The previous implementation always passed the field masks for both
channels to snd_soc_component_update_bits() but for mono the written value
only contained the settings for channel 1. The result was that for mono
channel 2 was set to 8-bit (which is an invalid configuration) with both
channels on the low phase of LRCLK.
Signed-off-by: Richard Fitzgerald <[email protected]>
Fixes: 585e7079de0e ("ASoC: cs42l42: Add Capture Support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions