summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy.hu <andy.hu@starfivetech.com>2024-08-02 09:33:22 +0300
committerandy.hu <andy.hu@starfivetech.com>2024-08-02 09:33:22 +0300
commit3d32977351fdca88bf5b5535dd3d2ffc445a8eae (patch)
treebe5cf9494ce26541546624e46a52326d9b4de368
parent1f589c7db0e2caf51361b630ea9700754b5a0301 (diff)
parente15df222514f6a64e6dbdc9321c41af2fd86a4ef (diff)
downloadlinux-3d32977351fdca88bf5b5535dd3d2ffc445a8eae.tar.xz
Merge branch 'CR_13302_pincrtl_gpio_interrupt_5.15_ziv.xu' into 'jh7110-5.15.y-devel'
CR_13302_pincrtl_gpio_interrupt_5.15_ziv.xu See merge request sdk/linux!1069
-rwxr-xr-xdrivers/pinctrl/starfive/pinctrl-starfive-jh7110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c b/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
index 13ea658420da..3d2b68727bbf 100755
--- a/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
+++ b/drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
@@ -754,7 +754,7 @@ static int starfive_jh7110_sys_irq_set_type(struct irq_data *d,
case IRQ_TYPE_LEVEL_LOW:
irq_type = 0; /* 0: level triggered */
edge_both = 0; /* 0: ignored */
- polarity = 1; /* 1: low level */
+ polarity = mask; /* 1: low level */
break;
case IRQ_TYPE_EDGE_BOTH:
irq_type = mask; /* 1: edge triggered */