summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorGene Chen <gene_chen@richtek.com>2021-05-18 01:33:11 +0800
committerLee Jones <lee.jones@linaro.org>2021-06-02 10:50:02 +0100
commita75a2d56dc2f1a95a0b481eec74f60ff81a1b291 (patch)
tree770cf68cd379cda1d185d2b1a5245e83e160d576 /include/linux/mfd
parent60a90b3579bea601552e650429d9f35039b83ed2 (diff)
downloadlinux-stable-a75a2d56dc2f1a95a0b481eec74f60ff81a1b291.tar.gz
linux-stable-a75a2d56dc2f1a95a0b481eec74f60ff81a1b291.tar.bz2
linux-stable-a75a2d56dc2f1a95a0b481eec74f60ff81a1b291.zip
mfd: mt6360: Remove handle_post_irq callback function
Remove handle_post_irq which is used to retrigger IRQ. Set IRQ level low trigger in dtsi to keep IRQ always be handled. Signed-off-by: Gene Chen <gene_chen@richtek.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/mt6360.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/mt6360.h b/include/linux/mfd/mt6360.h
index 81bca7c2ad4d..ef8257dffe3f 100644
--- a/include/linux/mfd/mt6360.h
+++ b/include/linux/mfd/mt6360.h
@@ -230,7 +230,7 @@ struct mt6360_ddata {
#define MT6360_PMU_MAXREG MT6360_PMU_LDO_MASK2
/* MT6360_PMU_IRQ_SET */
-#define MT6360_PMU_IRQ_REGNUM (MT6360_PMU_LDO_IRQ2 - MT6360_PMU_CHG_IRQ1 + 1)
+#define MT6360_PMU_IRQ_REGNUM 16
#define MT6360_IRQ_RETRIG BIT(2)
#define CHIP_VEN_MASK 0xF0