Skip to content

ASoC: mediatek: mt8195: Fix clock error handling

[email protected] linux-arm-kernel linux-mediatek linux-sound lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest16 patches 1 replyIn review
  2. v214 patches 12 repliesSuperseded
  3. v110 patches 1 replySuperseded

Changes in v3 from the cover letter

 -  Add Ajay Kumar Nandam's Reviewed-by tag.
 -  Add error handling in mt8195_afe_enable_main_clock().
 -  Add error handling in mt8195_afe_fe_trigger().
 -  Update the commit message for the DAPM error handling.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16ASoC: mediatek: mt8195: Fix tuner clock error handlingsound/soc/mediatek/mt8195/mt8195-afe-clk.c+19 -50 replies
2/16ASoC: mediatek: mt8195: Use dev_err_probe() in mt8195_afe_init_clock()sound/soc/mediatek/mt8195/mt8195-afe-clk.c+3 -60 replies
3/16ASoC: mediatek: mt8195: Fix register access clock error handlingsound/soc/mediatek/mt8195/mt8195-afe-clk.c+12 -30 replies
4/16ASoC: mediatek: mt8195: Fix timing system clock error handlingsound/soc/mediatek/mt8195/mt8195-afe-clk.c+12 -30 replies
5/16ASoC: mediatek: mt8195: Fix main clock error handlingsound/soc/mediatek/mt8195/mt8195-afe-clk.c+20 -30 replies
6/16ASoC: mediatek: mt8195: Fix paired memif clock error handlingsound/soc/mediatek/mt8195/mt8195-afe-pcm.c+20 -40 replies
7/16ASoC: mediatek: mt8195: Fix FE startup error handlingsound/soc/mediatek/mt8195/mt8195-afe-pcm.c+29 -150 replies
8/16ASoC: mediatek: mt8195: Check paired MEMIF clock enable in FE triggersound/soc/mediatek/mt8195/mt8195-afe-pcm.c+8 -10 replies
9/16ASoC: mediatek: mt8195: Fix runtime resume error handlingsound/soc/mediatek/mt8195/mt8195-afe-pcm.c+18 -50 replies
10/16ASoC: mediatek: mt8195: Remove redundant error messagesound/soc/mediatek/mt8195/mt8195-afe-pcm.c+4 -50 replies
11/16ASoC: mediatek: mt8195: Propagate IRQ lookup errorssound/soc/mediatek/mt8195/mt8195-afe-pcm.c+1 -10 replies
12/16ASoC: mediatek: mt8195: Fix ETDM MCLK error handlingsound/soc/mediatek/mt8195/mt8195-dai-etdm.c+1 -30 replies
13/16ASoC: mediatek: mt8195: Fix ETDM startup error handlingsound/soc/mediatek/mt8195/mt8195-dai-etdm.c+40 -100 replies
14/16ASoC: mediatek: mt8195: Fix HDMI TX startup error handlingsound/soc/mediatek/mt8195/mt8195-dai-etdm.c+15 -30 replies
15/16ASoC: mediatek: mt8195: Fix ETDM probe error handlingsound/soc/mediatek/mt8195/mt8195-dai-etdm.c+18 -90 replies
16/16ASoC: mediatek: mt8195: Fix clock parent error handlingsound/soc/mediatek/mt8195/mt8195-dai-adda.c+1 -20 replies

Reviews trailers per patch

6 of 16 patches have a Reviewed-by or Acked-by.

PatchAjay Kumar Nandam
1/16
2/16R-b
3/16R-b
4/16
5/16
6/16
7/16
8/16
9/16
10/16R-b
11/16R-b
12/16R-b
13/16R-b
14/16
15/16
16/16

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 00/16] ASoC: mediatek: mt8195: Fix clock error handling

From: bui duc phuc <[email protected]>

Hi all,

This series improves error handling in the MT8195 ASoC driver, mainly by checking and propagating errors from clock operations.

Link v1:
https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Check for negative return from mtk_afe_fe_startup().

Link v2:
https://lore.kernel.org/all/[email protected]/
Changes in v3:

 -  Add Ajay Kumar Nandam's Reviewed-by tag.
 -  Add error handling in mt8195_afe_enable_main_clock().
 -  Add error handling in mt8195_afe_fe_trigger().
 -  Update the commit message for the DAPM error handling.

Compile-tested only.

Best regards,
Phuc

bui duc phuc (16):
ASoC: mediatek: mt8195: Fix tuner clock error handling
ASoC: mediatek: mt8195: Use dev_err_probe() in mt8195_afe_init_clock()
ASoC: mediatek: mt8195: Fix register access clock error handling
ASoC: mediatek: mt8195: Fix timing system clock error handling
ASoC: mediatek: mt8195: Fix main clock error handling
ASoC: mediatek: mt8195: Fix paired memif clock error handling
ASoC: mediatek: mt8195: Fix FE startup error handling
ASoC: mediatek: mt8195: Check paired MEMIF clock enable in FE trigger
ASoC: mediatek: mt8195: Fix runtime resume error handling
ASoC: mediatek: mt8195: Remove redundant error message
ASoC: mediatek: mt8195: Propagate IRQ lookup errors
ASoC: mediatek: mt8195: Fix ETDM MCLK error handling
ASoC: mediatek: mt8195: Fix ETDM startup error handling
ASoC: mediatek: mt8195: Fix HDMI TX startup error handling
ASoC: mediatek: mt8195: Fix ETDM probe error handling
ASoC: mediatek: mt8195: Fix clock parent error handling

 sound/soc/mediatek/mt8195/mt8195-afe-clk.c  |  86 +++++++++++----
 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c  | 111 ++++++++++++++------
 sound/soc/mediatek/mt8195/mt8195-dai-adda.c |   3 +-
 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c |  99 ++++++++++++-----
 4 files changed, 221 insertions(+), 78 deletions(-)
Signature · 1 line
2.43.0