projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f8b5b2
)
ASoC: jack: allow multiple interrupt per gpio
author
Svyatoslav Ryhel
<clamor95@gmail.com>
Tue, 21 Feb 2023 18:32:03 +0000
(20:32 +0200)
committer
Mark Brown
<broonie@kernel.org>
Sun, 5 Mar 2023 23:38:38 +0000
(23:38 +0000)
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>
sound/soc/soc-jack.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-jack.c
b/sound/soc/soc-jack.c
index
fcece5c
..
f951acb
100644
(file)
--- 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,