Skip to content

ASoC: loongson: Fix configuration and clock error handling

[email protected] linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v1 RFC2 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Use FIELD_PREP() for register fields as suggested by Binbin.
- Apply the same approach to the other registers in hw_params().

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: loongson: Fix IISConfig0 update in hw_params for rev 1sound/soc/loongson/loongson_i2s.c sound/soc/loongson/loongson_i2s.h+19 -80 replies
2/3ASoC: loongson: Use FIELD_PREP() for register fieldssound/soc/loongson/loongson_i2s.c sound/soc/loongson/loongson_i2s.h+11 -50 replies
3/3ASoC: loongson: Handle clock enable errors in set_fmtsound/soc/loongson/loongson_i2s.c+21 -50 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBinbin Zhou
SeriesR-b T-b
1/3
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] ASoC: loongson: Fix configuration and clock error handling

From: bui duc phuc <[email protected]>

Hi all,

This series fixes I2S configuration updates and improves clock error handling in the Loongson ASoC driver.

Link v1:
https://lore.kernel.org/linux-sound/[email protected]/

Changes in v2:
- Use FIELD_PREP() for register fields as suggested by Binbin.
- Apply the same approach to the other registers in hw_params().

Compile-tested only.

Best regards,
Phuc

bui duc phuc (3):
ASoC: loongson: Fix IISConfig0 update in hw_params for rev 1
ASoC: loongson: Use FIELD_PREP() for register fields
ASoC: loongson: Handle clock enable errors in set_fmt

 sound/soc/loongson/loongson_i2s.c | 58 +++++++++++++++++++++----------
 sound/soc/loongson/loongson_i2s.h | 11 ++++++
 2 files changed, 51 insertions(+), 18 deletions(-)
Signature · 1 line
2.43.0