Re: [PATCH] ASoC: ti: omap-mcbsp: Remove mixed goto/scoped cleanup handling
From: Wang, Sen
Date: Thu May 14 2026 - 20:17:21 EST
On 5/14/2026 6:06 AM, phucduc.bui@xxxxxxxxx wrote:
From: bui duc phuc <phucduc.bui@xxxxxxxxx>Hi bui duc phuc,
After converting to guard()/scoped_guard() helpers,
omap_mcbsp_request() still mixes scoped cleanup with
goto based error handling.
Remove the remaining goto based cleanup paths for a more
consistent cleanup flow.
Suggested-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
---
sound/soc/ti/omap-mcbsp.c | 46 +++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 24 deletions(-)
The logic looks good to me, thanks for your cleanup!
Acked-by: Sen Wang <sen@xxxxxx>
Best,
Sen Wang