Skip to content

Codec Fixes for the tlv320aic32x4 codec on 5.10 - #4273

Merged
pelwell merged 2 commits into
raspberrypi:rpi-5.10.yfrom
mcdermj:am-3204-fixes
Apr 12, 2021
Merged

pelwell merged 2 commits into
raspberrypi:rpi-5.10.yfrom
mcdermj:am-3204-fixes

Conversation

@mcdermj

@mcdermj mcdermj commented Apr 12, 2021

Copy link
Copy Markdown
Contributor

These are a pair of fixes to make the tlv320aic32x4 codec driver work on 5.10. Both have been submitted upstream and accepted for inclusion into -next. They were also submitted to hopefully be integrated into -stable as well. This fixes some of the problems in issue #4200 that I had discussed (but had not fixed the original poster's issue).

We've tested these fixes on our boards and they seem to fix the issues with the codec.

mcdermj added 2 commits April 11, 2021 19:45
Commit 1ca1156 upstream

Clock registration must be performed before the component is
registered.  aic32x4_component_probe attempts to get all the
clocks right off the bat.  If the component is registered before
the clocks there is a race condition where the clocks may not
be registered by the time aic32x4_componet_probe actually runs.

Fixes: d1c859d ("ASoC: codec: tlv3204: Increased maximum supported channels")
Cc: stable@vger.kernel.org
Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
Link: https://lore.kernel.org/r/0101017889850206-dcac4cce-8cc8-4a21-80e9-4e4bef44b981-000000@us-west-2.amazonses.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Commit 29654ed upstream

AIC32X4_REFPOWERUP was added as a register, but the maximum register value
in the regmap and regmap range was not correspondingly increased.  This
caused an error when this register was attempted to be written.

Fixes: ec96690 ("ASoC: tlv320aic32x4: Enable fast charge")
Cc: stable@vger.kernel.org
Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
Link: https://lore.kernel.org/r/0101017889851cab-ce60cfdb-d88c-43d8-bbd2-7fbf34a0c912-000000@us-west-2.amazonses.com
Signed-off-by: Mark Brown <broonie@kernel.org>
@pelwell
pelwell merged commit 5640034 into raspberrypi:rpi-5.10.y Apr 12, 2021
@pelwell

pelwell commented Apr 12, 2021

Copy link
Copy Markdown
Contributor

Thanks again.

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver
See: raspberrypi/linux#4258

kernel: sc16is7xx: Defer probe if device read fails
See: raspberrypi/linux#4272

kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10
See: raspberrypi/linux#4273

kernel: HDR improvements
See: raspberrypi/linux#4268

kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf
See: raspberrypi/linux#4277

kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes
See: raspberrypi/linux#4276

kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically
See: raspberrypi/linux#4283

kernel: overlays: ghost-amp: Add DAC mute control
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Apr 19, 2021
kernel: Update Allo Piano Plus DAC driver
See: raspberrypi/linux#4258

kernel: sc16is7xx: Defer probe if device read fails
See: raspberrypi/linux#4272

kernel: Codec Fixes for the tlv320aic32x4 codec on 5.10
See: raspberrypi/linux#4273

kernel: HDR improvements
See: raspberrypi/linux#4268

kernel: staging: vcsm-cma: Fix memory leak from not detaching dmabuf
See: raspberrypi/linux#4277

kernel: vc4/kms: vc4_plane: Support 2020 colourspace for yuv planes
See: raspberrypi/linux#4276

kernel: Prevent A4tech FHD 1080p webcams from being suspended automatically
See: raspberrypi/linux#4283

kernel: overlays: ghost-amp: Add DAC mute control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants