On Thu, Jul 21, 2022 at 10:40:54PM +0200, Uwe Kleine-König wrote: > It's not allowed to quit remove early without cleaning up completely. > Otherwise this results in resource leaks that probably yield graver > problems later. Here for example some tasklets might survive the lifetime > of the sprd-dma device and access sdev which is freed after .remove() > returns. > > As none of the device freeing requires an active device, just ignore the > return value of pm_runtime_get_sync(). > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> If you want a fixes line, that would be: Fixes: 9b3b8171f7f4 ("dmaengine: sprd: Add Spreadtrum DMA driver") but I'm not sure this is critical enough to be backported to stable. So apply at will. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature