Re: [PATCH 2/2] ASoC: ti: omap-twl4030: use per-device instance of headset jack gpio
Jarkko Nikula <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.ports.arm.omap,gmane.linux.kernel |
|---|---|
| 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]>