Re: [PATCH] scsi: ufs: Check workqueue exists before destroying it

From: Stephen Boyd
Date: Wed Aug 08 2018 - 02:24:53 EST


Quoting Matthias Kaehlcke (2018-08-01 17:14:35)
> In ufshcd_hba_exit() the clock gating workqueue is always destroyed
> when clock gating is supported. However the workqueue pointer is NULL
> when ufshcd_init() fails before the workqueue is created. Only destroy
> the workqueue if it exists.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

Any sort of Fixes: tag?