commit | f23231361c443b7abc93d94c41c9f02a3d940790 | [log] [tgz] |
---|---|---|
author | Apoorv Gupta <apoogupt@codeaurora.org> | Mon Apr 20 11:37:13 2020 +0530 |
committer | Apoorv Gupta <apoogupt@codeaurora.org> | Mon Apr 20 11:37:13 2020 +0530 |
tree | ceaecdaef118ee7c0ed9ed08bf15ae861ef6ccc2 | |
parent | 924d3ed75f07542aa8f917a20e5b40e6c1d29755 [diff] |
[qca-edma] Fix for deadlock condition during stats read The spin_lock() used in edma_read_append_stats() API can potentially result in a deadlock as it is being called from process context and softirq context. Replacing spin_lock() with spin_lock_bh() will allow critical section to run without getting interrupted. Change-Id: I137e273a233d31c1a4f04235f77661e62ba7bf62 Signed-off-by: Apoorv Gupta <apoogupt@codeaurora.org>