Skip to content

Commit 7ce2916

Browse files
committed
apple-nvme: Release power domains when probe fails
Signed-off-by: Hector Martin <[email protected]>
1 parent f78b8da commit 7ce2916

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
@@ -1595,6 +1595,7 @@ static int apple_nvme_probe(struct platform_device *pdev)
15951595
return 0;
15961596

15971597
put_dev:
1598+
apple_nvme_detach_genpd(anv);
15981599
put_device(anv->dev);
15991600
return ret;
16001601
}

0 commit comments

Comments
 (0)