summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2017-02-20 14:08:29 +0530
committerVeerabhadrarao Badiganti <vbadigan@codeaurora.org>2017-02-21 17:20:14 +0530
commit43464aa84ec02d32c7f3fb44e4a5d42cd1698743 (patch)
tree0de119e130743b01ffe23ec3d6949851c3420c3a /net/unix/af_unix.c
parent23a7da0be7bf34e482900750949ca2e3ba3a0371 (diff)
mmc: cmdq_hci: Enable legacy interrupts immediately after halt
Enable the legacy interrupts immediately after halt interrupt is handled, from cmdq_irq() itself. When cmdq halt is initiated, as per existing logic driver waits either for halt interrupt to fire or for certain period of time. In case if cmdq is halted but halt interrupt got delayed than wait-timeout period, driver disables cmdq interrupts since cmdq is in halt state. The delayed halt interrupt gets fired only when cmdq is unhalted next time and cmdq interrupts are enabled. And this delayed interrupt is treated as an unexpected interrupt. By enabling legacy interrupts (i.e., disabling cmdq interrupts) from cmdq_irq(), we can ensure that we don't disable cmdq interrupts until halt interrupt get fired. So we can avoid above mentioned scenario. Change-Id: Ic052d41fac789b6390a5d80dfaee91767bdb783f Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions