Skip to content

ASoC: codecs: jz4725b: Various improvements and fixes

Siarhei Volkau alsa-devel linux-mips lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 5 repliesIn review
  2. v26 patches 1 replySuperseded
  3. v11 patch 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ASoC: codecs: jz4725b: add missed Line In power control bitsound/soc/codecs/jz4725b.c+2 -10 replies
2/7ASoC: codecs: jz4725b: fix reported volume for Master ctlsound/soc/codecs/jz4725b.c+1 -10 replies
3/7ASoC: codecs: jz4725b: use right control for Capture Volumesound/soc/codecs/jz4725b.c+9 -60 replies
4/7ASoC: codecs: jz4725b: fix capture selector namingsound/soc/codecs/jz4725b.c+7 -70 replies
5/7ASoC: codecs: jz4725b: use right control for Master Playbacksound/soc/codecs/jz4725b.c+19 -20 replies
6/7ASoC: codecs: jz4725b: add missed Mixer inputssound/soc/codecs/jz4725b.c+40 -20 replies
7/7ASoC: codecs: jz4725b: add missed microphone widgetssound/soc/codecs/jz4725b.c+16 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchSiarhei Volkau
SeriesT-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] ASoC: codecs: jz4725b: Various improvements and fixes

The patchset fixes:
- Line In path stays powered off during capturing or bypass to mixer.
- incorrectly represented dB values in alsamixer, et al.
- incorrect represented Capture input selector in alsamixer in Playback tab.
- wrong control selected as Capture Master

The patchset improves:
- Exposes output stage (post mixer) gain control and makes it new Master playback gain, DAC gain was the previous master. However, no Master mute now.
- Exposes all mixer inputs (both Mics, LineIn and DAC) with their gain controls.
- Exposes microphones widgets: single/differential input, boost.

Known issues:
- Bypass path enablement isn't applied immediately, for make things going bit clock needs to be triggered for a bit, e.g. by aplay dummy.wav
It might be a hardware bug, since the bit clock isn't declared as required for codec operation.

Tested on:
- Ritmix RZX-27 (jz4725b).
- Ritmix RZX-50 (jz4755).

Diff from v2:
- add microphone widgets

Diff from v1:
- each change in a separate patch

Siarhei Volkau (7):
ASoC: codecs: jz4725b: add missed Line In power control bit
ASoC: codecs: jz4725b: fix reported volume for Master ctl
ASoC: codecs: jz4725b: use right control for Capture Volume
ASoC: codecs: jz4725b: fix capture selector naming
ASoC: codecs: jz4725b: use right control for Master Playback
ASoC: codecs: jz4725b: add missed Mixer inputs
ASoC: codecs: jz4725b: add missed microphone widgets

 sound/soc/codecs/jz4725b.c | 109 +++++++++++++++++++++++++++++++------
 1 file changed, 92 insertions(+), 17 deletions(-)
Signature · 1 line
2.36.1