Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / drivers / crypto / mxc-scc.c
index ff383ef83871659851fafa90c0afe39d99323f98..ee4be1b0d30ba1e0eb38262026b6e8a13d32b6fb 100644 (file)
@@ -668,7 +668,9 @@ static int mxc_scc_probe(struct platform_device *pdev)
                return PTR_ERR(scc->clk);
        }
 
-       clk_prepare_enable(scc->clk);
+       ret = clk_prepare_enable(scc->clk);
+       if (ret)
+               return ret;
 
        /* clear error status register */
        writel(0x0, scc->base + SCC_SCM_ERROR_STATUS);
This page took 0.025974 seconds and 5 git commands to generate.