Re: [PATCH] dmaengine: zx-dma: replace spin_lock_irqsave with spin_lock in ISR

2018-09-11 Thread Lucas Stach
Am Dienstag, den 11.09.2018, 07:31 -0700 schrieb jun qian: > As you are already in ISR, it is unnecessary to call > spin_lock_irqsave. As the IRQ in this driver isn't marked with IRQF_NO_THREAD, this is going to blow up if the kernel is booted with the "threadirqs" command line argument. Regards,

[PATCH] dmaengine: zx-dma: replace spin_lock_irqsave with spin_lock in ISR

2018-09-11 Thread jun qian
As you are already in ISR, it is unnecessary to call spin_lock_irqsave. Signed-off-by: jun qian Cc: Barry song <21cn...@gmail.com> --- drivers/dma/zx_dma.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/zx_dma.c b/drivers/dma/zx_dma.c index 2571bc7693df..111