summaryrefslogtreecommitdiff
path: root/drivers/ptp
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-06-09 15:13:07 (GMT)
committerLee Jones <lee.jones@linaro.org>2016-06-29 09:14:38 (GMT)
commit3df140d11c6dbf319f4e1bc034e202546fc5ec5c (patch)
tree9fe07cd54c75bbd504cef733c1d92e0237569bb0 /drivers/ptp
parentecd98ccefa1bb83865c358d96b98524bc70938a9 (diff)
downloadlinux-3df140d11c6dbf319f4e1bc034e202546fc5ec5c.tar.xz
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/ptp')
0 files changed, 0 insertions, 0 deletions