diff options
| author | HyeongJun An <sammiee5311@gmail.com> | 2026-10-08 22:09:51 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-12 19:52:01 +0100 |
| commit | d0567ca9a2faa33efbe5ae84ef7b86423a93bffd (patch) | |
| tree | b49cc9588be80e20ba7f5f6d21decc9de9e6c437 /scripts/basic | |
| parent | f7934340c56a84fc1b246ebf6b2e806d775f3b54 (diff) | |
| download | linux-d0567ca9a2faa33efbe5ae84ef7b86423a93bffd.tar.gz linux-d0567ca9a2faa33efbe5ae84ef7b86423a93bffd.zip | |
ASoC: wm8978: Fix the 128x oversampling switch bits
The DAC and ADC 128x Oversampling Switches use bit 5 of R10 and R14.
Table 66 of the WM8978 datasheet puts DACOSR128 and ADCOSR128 at bit 3
of those registers.
In R14, bit 5 is inside HPFCUT[6:4], which the High Pass Cut Off
control owns. So turning on ADC oversampling changes the high pass
cut-off, and the oversampling bit cannot be set. In R10, bit 5 is
reserved, so the DAC switch has no effect.
Use bit 3 for both.
Fixes: 823dba519122 ("ASoC: Fix broken bitfield definitions in WM8978")
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
Link: https://patch.msgid.link/20261008130953.2446692-6-sammiee5311@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
