summaryrefslogtreecommitdiff
path: root/drivers/mailbox/mailbox-th1520.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mailbox/mailbox-th1520.c')
-rw-r--r--drivers/mailbox/mailbox-th1520.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mailbox/mailbox-th1520.c b/drivers/mailbox/mailbox-th1520.c
index a6b2aa9ae952..626957c2e435 100644
--- a/drivers/mailbox/mailbox-th1520.c
+++ b/drivers/mailbox/mailbox-th1520.c
@@ -435,10 +435,8 @@ static int th1520_mbox_probe(struct platform_device *pdev)
}
ret = devm_add_action_or_reset(dev, th1520_disable_clk, priv);
- if (ret) {
- clk_bulk_disable_unprepare(ARRAY_SIZE(priv->clocks), priv->clocks);
+ if (ret)
return ret;
- }
/*
* The address mappings in the device tree align precisely with those