Files
linux/drivers
Pawel Laszczak ffe642edb4 usb: cdnsp: Fix lack of spin_lock_irqsave/spin_lock_restore
commit 4c4e162d9c upstream.

Patch puts content of cdnsp_gadget_pullup function inside
spin_lock_irqsave and spin_lock_restore section.
This construction is required here to keep the data consistency,
otherwise some data can be changed e.g. from interrupt context.

Fixes: 3d82904559 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Reported-by: Ken (Jian) He <jianhe@ambarella.com>
cc: <stable@vger.kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20211214045527.26823-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-22 09:32:46 +01:00
..
2021-12-14 10:57:15 +01:00
2021-12-14 10:57:15 +01:00
2021-09-08 11:50:26 -07:00
2021-12-22 09:32:41 +01:00
2021-11-18 19:16:08 +01:00
2021-09-20 12:43:34 +01:00
2021-12-22 09:32:39 +01:00