public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH AUTOSEL 5.10 1/9] ASoC: jack: allow multiple interrupt per gpio
@ 2023-05-07  0:35 Sasha Levin
  2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 2/9] staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE Sasha Levin
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sasha Levin @ 2023-05-07  0:35 UTC (permalink / raw)
  To: linux-kernel, stable
  Cc: Svyatoslav Ryhel, Mark Brown, Sasha Levin, lgirdwood, perex,
	tiwai, alsa-devel

From: Svyatoslav Ryhel <clamor95@gmail.com>

[ Upstream commit a2d4051b0bd6dffcd736888ae89a550d6f60b060 ]

This feature is required for coupled hp-mic quirk used
by some Nvidia Tegra 3 based devices work properly.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://lore.kernel.org/r/20230221183211.21964-3-clamor95@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 sound/soc/soc-jack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index 0f1820f36b4d7..80ea4408e6ad6 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -368,6 +368,7 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
 
 		ret = request_any_context_irq(gpiod_to_irq(gpios[i].desc),
 					      gpio_handler,
+					      IRQF_SHARED |
 					      IRQF_TRIGGER_RISING |
 					      IRQF_TRIGGER_FALLING,
 					      gpios[i].name,
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-07  0:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-07  0:35 [PATCH AUTOSEL 5.10 1/9] ASoC: jack: allow multiple interrupt per gpio Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 2/9] staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 3/9] HID: logitech-hidpp: Don't use the USB serial for USB devices Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 4/9] HID: logitech-hidpp: Reconcile USB and Unifying serials Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 5/9] spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3 Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 6/9] HID: wacom: generic: Set battery quirk only when we see battery data Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 7/9] usb: typec: tcpm: fix multiple times discover svids error Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 8/9] serial: 8250: Reinit port->pm on port specific driver unbind Sasha Levin
2023-05-07  0:35 ` [PATCH AUTOSEL 5.10 9/9] mcb-pci: Reallocate memory region to avoid memory overlapping Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox