summaryrefslogtreecommitdiff
path: root/drivers/mfd/qcom_rpm.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-06-09 20:43:07 +0530
committerLee Jones <lee.jones@linaro.org>2016-06-29 10:14:38 +0100
commit3df140d11c6dbf319f4e1bc034e202546fc5ec5c (patch)
tree9fe07cd54c75bbd504cef733c1d92e0237569bb0 /drivers/mfd/qcom_rpm.c
parentecd98ccefa1bb83865c358d96b98524bc70938a9 (diff)
mfd: max77620: Mask/unmask interrupt before/after servicing it
The programming guidelines of the MAX77620 for servicing interrupt is: 1. When interrupt occurs from PMIC, mask the PMIC interrupt by setting GLBLM. 2. Read IRQTOP and service the interrupt. 3. Once all interrupts has been checked and serviced, the interrupt service routine un-masks the hardware interrupt line by clearing GLBLM. Add the pre and post interrupt service handler for mask and unmask the global interrupt mask bit (for step 1 and 3) as callback from regmap-irq. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/qcom_rpm.c')
0 files changed, 0 insertions, 0 deletions