Re: [PATCH] usb: musb: jz4740: Prevent lockup when CONFIG_SMP is set
From: Bin Liu
Date: Thu May 21 2020 - 16:34:29 EST
On Wed, May 20, 2020 at 05:01:11PM +0200, Paul Cercueil wrote:
> The function dma_controller_irq() locks up the exact same spinlock we
> locked before calling it, which obviously resulted in a deadlock when
> CONFIG_SMP was enabled. This flew under the radar as none of the boards
> supported by this driver needs SMP.
>
> Fixes: 57aadb46bd63 ("usb: musb: jz4740: Add support for DMA")
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Queued for v5.8. Thanks.
-Bin.