Re: [PATCH 2/2] ASoC: ti: omap-twl4030: use per-device instance of headset jack gpio
Jarkko Nikula <[email protected]> Mon, 27 Jul 2026 20:46:20 +0300
| Newsgroups | org.kernel.vger.linux-omap,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On 25/07/2026 2:34 am, Dmitry Torokhov wrote: > hs_jack_gpios is being potentially shared among several instances of the > same device, and is being modified. This is not the best approach to > structuring the code (even if the device is in fact a singleton). > Change it to allocate a per-device instance. > > Signed-off-by: Dmitry Torokhov <[email protected]> > --- > sound/soc/ti/omap-twl4030.c | 24 +++++++++--------------- > 1 file changed, 9 insertions(+), 15 deletions(-) Acked-by: Jarkko Nikula <[email protected]>