Re: [PATCH 1/3] ASoC: mt6797: fix wrong unwind order and error code in enable_clock
Cezary Rojewski <[email protected]>
| Newsgroups | org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On 8/17/2026 1:32 PM, [email protected] wrote: > From: bui duc phuc <[email protected]> > > The error paths in mt6797_afe_enable_clock() use incorrect goto labels, > causing clocks that failed to enable to be disabled during cleanup. > > Fix the goto labels to only unwind clocks that were successfully > enabled, and return the actual error code. > > Signed-off-by: bui duc phuc <[email protected]> Aside from my comment regarding mt2701, this mt6797 series should have its title updated: ASoC: mediatek: mt6797: