mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
26 lines
703 B
Diff
26 lines
703 B
Diff
From 17290bf07058d3b52c3a750be73831827af3f98d Mon Sep 17 00:00:00 2001
|
|
From: Hector Martin <marcan@marcan.st>
|
|
Date: Mon, 27 Jun 2022 21:47:43 +0900
|
|
Subject: [PATCH 066/171] apple-nvme: Release power domains when probe fails
|
|
|
|
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
---
|
|
drivers/nvme/host/apple.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/nvme/host/apple.c b/drivers/nvme/host/apple.c
|
|
index 46294f99a1b0..67cef4dda24c 100644
|
|
--- a/drivers/nvme/host/apple.c
|
|
+++ b/drivers/nvme/host/apple.c
|
|
@@ -1582,6 +1582,7 @@ static int apple_nvme_probe(struct platform_device *pdev)
|
|
return 0;
|
|
|
|
put_dev:
|
|
+ apple_nvme_detach_genpd(anv);
|
|
put_device(anv->dev);
|
|
return ret;
|
|
}
|
|
--
|
|
2.34.1
|
|
|