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 2ba8cf9 commit eefa72aCopy full SHA for eefa72a
drivers/nvme/host/apple.c
@@ -1516,6 +1516,7 @@ static struct apple_nvme *apple_nvme_alloc(struct platform_device *pdev)
1516
1517
return anv;
1518
put_dev:
1519
+ apple_nvme_detach_genpd(anv);
1520
put_device(anv->dev);
1521
return ERR_PTR(ret);
1522
}
@@ -1549,6 +1550,7 @@ static int apple_nvme_probe(struct platform_device *pdev)
1549
1550
nvme_uninit_ctrl(&anv->ctrl);
1551
out_put_ctrl:
1552
nvme_put_ctrl(&anv->ctrl);
1553
1554
return ret;
1555
1556
0 commit comments