diff options
author | Svyatoslav Ryhel <clamor95@gmail.com> | 2023-02-21 21:32:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-06 02:38:38 +0300 |
commit | a2d4051b0bd6dffcd736888ae89a550d6f60b060 (patch) | |
tree | c1e8a30279fdcc55ddea9c090852303e8d9582fb /sound/soc/soc-jack.c | |
parent | 7f8b5b24bbb463614dd6b797e6b2ee92b3e2a6a1 (diff) | |
download | linux-a2d4051b0bd6dffcd736888ae89a550d6f60b060.tar.xz |
ASoC: jack: allow multiple interrupt per gpio
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>
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r-- | sound/soc/soc-jack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index fcece5ca38c6..f951acb2ce36 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -367,6 +367,7 @@ got_gpio: ret = request_any_context_irq(gpiod_to_irq(gpios[i].desc), gpio_handler, + IRQF_SHARED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, gpios[i].name, |