Skip to content

Commit f59e516

Browse files
marcanjannau
authored andcommitted
apple-nvme: Release power domains when probe fails
Signed-off-by: Hector Martin <[email protected]>
1 parent 3a74161 commit f59e516

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nvme/host/apple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,6 +1596,7 @@ static int apple_nvme_probe(struct platform_device *pdev)
15961596
return 0;
15971597

15981598
put_dev:
1599+
apple_nvme_detach_genpd(anv);
15991600
put_device(anv->dev);
16001601
return ret;
16011602
}

0 commit comments

Comments
 (0)