New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert downstream wm8804 changes #2364
Revert downstream wm8804 changes #2364
Conversation
@francesco-vannini any chance you could test this? Or @mmilann ?
…On 2 Feb 2018 12:21 p.m., "Matthias Reichl" ***@***.***> wrote:
It looks like the changes to the wm8804 codec that we have here in the rpi
tree come from a time where the i2s driver didn't support mmap and hacking
in 32bit support (which isn't supported by the codec and breaks 24-bit
support) was used as a workaround. Not exactly sure why idle_bias_off was
changed, but that smells rather suspicously like a workaround, too.
I've successfully tested the Hifiberry Digi Pro, Justboom Digi and Cirrus
Logic Audio Card with the local changes reverted.
ping @hifiberry <https://github.com/hifiberry> @shawaj
<https://github.com/shawaj> could you test with this PR as well?
------------------------------
You can view, comment on, or merge this pull request online at:
#2364
Commit Summary
- Revert downstream wm8804 changes
File Changes
- *M* sound/soc/codecs/wm8804.c
<https://github.com/raspberrypi/linux/pull/2364/files#diff-0> (5)
Patch Links:
- https://github.com/raspberrypi/linux/pull/2364.patch
- https://github.com/raspberrypi/linux/pull/2364.diff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2364>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADNCukCbSKJUKBFWeNeDiU_9k7rtXScFks5tQv3cgaJpZM4R3Gyb>
.
|
not until I am back I'm afraid but I can mid next week if that's OK |
@HiassofT we're certainly keen to drop downstream patches if they are no longer required. |
7465564
to
47efcbd
Compare
e5bc564
to
30b6321
Compare
rebased onto current rpi-4.14.y tree and added Signed-off-by |
@francesco-vannini sure, here's a precompiled RPi2 kernel: |
048970d
to
90ac037
Compare
The format change from S24_LE to S24_3LE effectively disables 24-bit mode as S24_3LE isn't supported by bcm2835-i2s. This causes issues with drivers that want to use wm8804 in 24-bit mode. Adding the S32_LE format is also incorrect, according to the datasheet only 16-24 bit formats are supported. Signed-off-by: Matthias Reichl <hias@horus.com>
30b6321
to
6ed6d9d
Compare
Is there any feedback on this PR? |
@francesco-vannini commented here #2365 (comment) that this PR seems to be fine
|
Sorry @pelwell , in the excitement of having actually been able to do the compilation and all I forgot to update you with a comment here ;) |
kernel: Add support for SuperAudioBoard sound card (#2386) See: raspberrypi/linux#2386 kernel: Revert downstream wm8804 changes See: raspberrypi/linux#2364 kernel: Generic Rotary Encoder overlay for multiple instances (#2388) See: raspberrypi/linux#2388 kernel: dwc_otg: Fix a regression when dequeueing isochronous transfers See: raspberrypi/linux#2380 kernel: dwc_otg: add smp_mb() to prevent driver state corruption on boot See: raspberrypi/linux#2382 kernel: overlays: Allow multiple instances of gpio-ir[-tx] kernel: overlay: Add missing pinctrl reference to gpio-ir kernel: properly fix S24_LE mode with pcm512x codec See: raspberrypi/linux#2365
kernel: Add support for SuperAudioBoard sound card (#2386) See: raspberrypi/linux#2386 kernel: Revert downstream wm8804 changes See: raspberrypi/linux#2364 kernel: Generic Rotary Encoder overlay for multiple instances (#2388) See: raspberrypi/linux#2388 kernel: dwc_otg: Fix a regression when dequeueing isochronous transfers See: raspberrypi/linux#2380 kernel: dwc_otg: add smp_mb() to prevent driver state corruption on boot See: raspberrypi/linux#2382 kernel: overlays: Allow multiple instances of gpio-ir[-tx] kernel: overlay: Add missing pinctrl reference to gpio-ir kernel: properly fix S24_LE mode with pcm512x codec See: raspberrypi/linux#2365
It looks like the changes to the wm8804 codec that we have here in the rpi tree come from a time where the i2s driver didn't support mmap and hacking in 32bit support (which isn't supported by the codec and breaks 24-bit support) was used as a workaround. Not exactly sure why idle_bias_off was changed, but that smells rather suspicously like a workaround, too.
I've successfully tested the Hifiberry Digi Pro, Justboom Digi and Cirrus Logic Audio Card with the local changes reverted.
ping @hifiberry @shawaj could you test with this PR as well?