Re: [PATCH 2/2] ASoC: ti: omap-twl4030: use per-device instance of headset jack gpio

From: Jarkko Nikula

Date: Mon Jul 27 2026 - 13:57:02 EST


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 <dmitry.torokhov@xxxxxxxxx>
> ---
> sound/soc/ti/omap-twl4030.c | 24 +++++++++---------------
> 1 file changed, 9 insertions(+), 15 deletions(-)
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxx>