ASoC: ti: Cleanup locking code using guard() helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ASoC: ti: j721e-evm: Use guard() for mutex lockssound/ | +9 | 0 replies | |
| 2/7 | ASoC: ti: omap-dmic: Use guard() for mutex lockssound/ | +18 | 0 replies | |
| 3/7 | ASoC: ti: omap-hdmi: Use guard() for mutex lockssound/ | +7 | 0 replies | |
| 4/7 | ASoC: ti: omap-mcpdm: Use guard() for mutex lockssound/ | +2 | 0 replies | |
| 5/7 | ASoC: ti: ams-delta: Use guard() for spin lockssound/ | +13 | 0 replies | |
| 6/7 | ASoC: ti: omap-mcbsp-st: Use guard() for spin lockssound/ | +8 | 1 reply | |
| 7/7 | ASoC: ti: omap-mcbsp: Simplify lock and resource handlingsound/ | +24 | 5 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jarkko Nikula |
|---|---|
| Series | A-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | T-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] ASoC: ti: Cleanup locking code using guard() helpers
From: bui duc phuc <[email protected]>
Hi all,
This series converts mutex and spinlock handling in TI ASoC drivers to use guard() helpers.
Most patches are straightforward conversions to guard() helpers. Two patches include minor cleanup changes in the process:
omap-dmic: Simplified omap_dmic_dai_startup() by removing the temporary return variable and using a direct return path on error.
omap-mcbsp: Modernized omap_mcbsp_request() by using __free(kfree) for memory management. This ensures that memory is always freed on error paths after the spinlock is released, without needing manual goto labels.
No behavior change intended.
Best regards,
Phuc
bui duc phuc (7):
ASoC: ti: j721e-evm: Use guard() for mutex locks
ASoC: ti: omap-dmic: Use guard() for mutex locks
ASoC: ti: omap-hdmi: Use guard() for mutex locks
ASoC: ti: omap-mcpdm: Use guard() for mutex locks
ASoC: ti: ams-delta: Use guard() for spin locks
ASoC: ti: omap-mcbsp-st: Use guard() for spin locks
ASoC: ti: omap-mcbsp: Simplify lock and resource handling
sound/soc/ti/ams-delta.c | 26 ++++++++--------- sound/soc/ti/j721e-evm.c | 25 ++++++----------- sound/soc/ti/omap-dmic.c | 44 ++++++++++++----------------- sound/soc/ti/omap-hdmi.c | 18 +++++------- sound/soc/ti/omap-mcbsp-st.c | 26 ++++++----------- sound/soc/ti/omap-mcbsp.c | 54 ++++++++++++++++-------------------- sound/soc/ti/omap-mcpdm.c | 8 ++---- 7 files changed, 81 insertions(+), 120 deletions(-)
Signature · 1 line
2.43.0