Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c446fd4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: do not destroy clk scaling work queue if it is NULL"

parents 5e1eadd4 b574a9cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8952,6 +8952,7 @@ static void ufshcd_hba_exit(struct ufs_hba *hba)
		if (ufshcd_is_clkscaling_supported(hba)) {
			if (hba->devfreq)
				ufshcd_suspend_clkscaling(hba);
			if (hba->clk_scaling.workq)
				destroy_workqueue(hba->clk_scaling.workq);
		}
		ufshcd_disable_clocks(hba, false);