Re: [PATCH v3 11/26] ASoC: codecs: wcd-mbhc: Use guard() for mutex locks
From: Bui Duc Phuc
Date: Sun Aug 02 2026 - 22:35:58 EST
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