We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1695c43 commit 64506b3Copy full SHA for 64506b3
drivers/ufs/host/ufs-qcom.c
@@ -1861,10 +1861,12 @@ static int ufs_qcom_probe(struct platform_device *pdev)
1861
static void ufs_qcom_remove(struct platform_device *pdev)
1862
{
1863
struct ufs_hba *hba = platform_get_drvdata(pdev);
1864
+ struct ufs_qcom_host *host = ufshcd_get_variant(hba);
1865
1866
pm_runtime_get_sync(&(pdev)->dev);
1867
ufshcd_remove(hba);
- platform_device_msi_free_irqs_all(hba->dev);
1868
+ if (host->esi_enabled)
1869
+ platform_device_msi_free_irqs_all(hba->dev);
1870
}
1871
1872
static const struct of_device_id ufs_qcom_of_match[] __maybe_unused = {
0 commit comments