diff options
author | andy.hu <andy.hu@starfivetech.com> | 2024-08-02 09:33:22 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2024-08-02 09:33:22 +0300 |
commit | 3d32977351fdca88bf5b5535dd3d2ffc445a8eae (patch) | |
tree | be5cf9494ce26541546624e46a52326d9b4de368 | |
parent | 1f589c7db0e2caf51361b630ea9700754b5a0301 (diff) | |
parent | e15df222514f6a64e6dbdc9321c41af2fd86a4ef (diff) | |
download | linux-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-x | drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c | 2 |
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 */ |