diff options
| author | HyeongJun An <sammiee5311@gmail.com> | 2026-10-08 22:09:52 +0900 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-12 19:52:01 +0100 |
| commit | 4db45fc1da3d62d0fa6e8f1e457ae92e8741ed07 (patch) | |
| tree | 3d3aea84f4f64e653ce5c6baa486b55060434362 /scripts/basic | |
| parent | d0567ca9a2faa33efbe5ae84ef7b86423a93bffd (diff) | |
| download | linux-4db45fc1da3d62d0fa6e8f1e457ae92e8741ed07.tar.gz linux-4db45fc1da3d62d0fa6e8f1e457ae92e8741ed07.zip | |
ASoC: nau8822: Fix the 128x oversampling switch bits
The DAC and ADC 128x Oversampling Switches use bit 5 of R10 and R14.
The NAU8822 datasheet register map puts DACOS and ADCOS at bit 3 of
those registers.
In R14, bit 5 is inside HPF[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: 1e3cb6c321be ("ASoC: nau8822: new codec driver")
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
Link: https://patch.msgid.link/20261008130953.2446692-7-sammiee5311@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
