Re: [PATCH v3 11/26] ASoC: codecs: wcd-mbhc: Use guard() for mutex locks
Bui Duc Phuc <[email protected]> Mon, 3 Aug 2026 09:35:40 +0700
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAABR9nED-25XHUNDbucLHJy-=RNcxa+VsiSC6NcXSXJFFOvngw@mail.gmail.com> |
Hi Mark, After looking into this more carefully, I've decided to drop this patch. My original intention was to keep the mutex_unlock()/mutex_lock() pair in wcd_cancel_hs_detect_plug(). However, this function is also called from other places, and I'm not confident that keeping the manual mutex operations there would work correctly if those callers use guard() or scoped_guard(). Best regards, Phuc