diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-05-24 21:50:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-25 13:36:30 +0200 |
commit | 685f5f24108a5f3481da70ee75a1b18b9de34257 (patch) | |
tree | a1bcef332ee55714b68f6b6f2f42671447646530 /drivers/usb/musb/musb_debugfs.c | |
parent | 402bcac4b25b520c89ba60db85eb6316f36e797f (diff) |
usb: musb: jz4740: Prevent lockup when CONFIG_SMP is set
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")
Cc: stable@vger.kernel.org
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200525025049.3400-6-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_debugfs.c')
0 files changed, 0 insertions, 0 deletions