summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-m48t35.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2017-11-14 17:55:01 +0300
committerVinod Koul <vinod.koul@intel.com>2017-12-12 08:32:43 +0300
commit38680bc6b1e3592bc9e18adc1d6e259667df27ce (patch)
tree8d5990ce991bd8f4450702604cd88e5bf07f651f /drivers/rtc/rtc-m48t35.c
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-38680bc6b1e3592bc9e18adc1d6e259667df27ce.tar.xz
dmaengine: qcom_hidma: check pending interrupts
Driver is missing the interrupts if two requests are queued up at the same time as the interrupt handler is servicing a request that was just delivered. The ISR clears the interrupt at the end but it could be clearing the interrupt for an outstanding event. Therefore, second interrupt never arrives. Clear the interrupt first and then check for completions. Also, make sure that request start and interrupt clear do not overlap in time by using a spinlock. Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/rtc/rtc-m48t35.c')
0 files changed, 0 insertions, 0 deletions