summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/cavium-octeon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/cavium-octeon.c')
-rw-r--r--drivers/mmc/host/cavium-octeon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/cavium-octeon.c b/drivers/mmc/host/cavium-octeon.c
index 22aded106..2245452a4 100644
--- a/drivers/mmc/host/cavium-octeon.c
+++ b/drivers/mmc/host/cavium-octeon.c
@@ -288,6 +288,7 @@ static int octeon_mmc_probe(struct platform_device *pdev)
if (ret) {
dev_err(&pdev->dev, "Error populating slots\n");
octeon_mmc_set_shared_power(host, 0);
+ of_node_put(cn);
goto error;
}
i++;