[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>
1 file changed
tree: ceaecdaef118ee7c0ed9ed08bf15ae861ef6ccc2
  1. edma.c
  2. edma.h
  3. edma_axi.c
  4. edma_ethtool.c
  5. edma_stats.c
  6. ess_edma.h
  7. Makefile