Re: [PATCH 1/3] ASoC: mt6797: fix wrong unwind order and error code in enable_clock
Cezary Rojewski <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.mediatek,gmane.linux.kernel |
|---|---|
| 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: