ASoC: mediatek: fix AFE IRQ registration and removal ordering
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Rebased onto broonie/sound for-next (cde5523c75f1).
- 1-3: removed redundant IRQ request error logs and clarified changelogs.
- 4-5: added MT8195 and MT8188.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ASoC: mediatek: mt8186: Keep the AFE IRQ within its resource lifetimesound/ sound/ | +31 | 0 replies | |
| 2/5 | ASoC: mediatek: mt8189: Keep the AFE IRQ within its resource lifetimesound/ sound/ | +11 | 0 replies | |
| 3/5 | ASoC: mediatek: mt8196: Keep the AFE IRQ within its resource lifetimesound/ sound/ | +11 | 0 replies | |
| 4/5 | ASoC: mediatek: mt8195: Keep the AFE IRQ within its resource lifetimesound/ sound/ | +12 | 0 replies | |
| 5/5 | ASoC: mediatek: mt8188: Keep the AFE IRQ within its resource lifetimesound/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] ASoC: mediatek: fix AFE IRQ registration and removal ordering
This series fixes IRQ lifetime ordering in the MT8186, MT8188, MT8189, MT8195 and MT8196 AFE drivers.
Request each IRQ after regmap initialization so it is freed before the regmap. Where remove() shuts down the AFE, free the IRQ first. Also balance MT8186's IRQ wake setting.
Found by a static analysis tool under development. Not tested on hardware.
Changes in v2:
- Rebased onto broonie/sound for-next (cde5523c75f1).
- 1-3: removed redundant IRQ request error logs and clarified changelogs.
- 4-5: added MT8195 and MT8188.
Link to v1: https://lore.kernel.org/r/[email protected]
Myeonghun Pak (5):
ASoC: mediatek: mt8186: Keep the AFE IRQ within its resource lifetime
ASoC: mediatek: mt8189: Keep the AFE IRQ within its resource lifetime
ASoC: mediatek: mt8196: Keep the AFE IRQ within its resource lifetime
ASoC: mediatek: mt8195: Keep the AFE IRQ within its resource lifetime
ASoC: mediatek: mt8188: Keep the AFE IRQ within its resource lifetime
sound/soc/mediatek/mt8186/mt8186-afe-common.h | 1 + sound/soc/mediatek/mt8186/mt8186-afe-pcm.c | 42 +++++++++++++------ sound/soc/mediatek/mt8188/mt8188-afe-pcm.c | 10 ++--- sound/soc/mediatek/mt8189/mt8189-afe-common.h | 1 + sound/soc/mediatek/mt8189/mt8189-afe-pcm.c | 16 ++++--- sound/soc/mediatek/mt8195/mt8195-afe-common.h | 1 + sound/soc/mediatek/mt8195/mt8195-afe-pcm.c | 16 ++++--- sound/soc/mediatek/mt8196/mt8196-afe-common.h | 1 + sound/soc/mediatek/mt8196/mt8196-afe-pcm.c | 16 ++++--- 9 files changed, 70 insertions(+), 34 deletions(-)
base-commit: cde5523c75f1320a55ac1d55a717ccbb566557f0
Signature · 1 line
2.43.0