Loading drivers/rtc/rtc-s3c.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -510,8 +510,7 @@ static int s3c_rtc_probe(struct platform_device *pdev) else else dev_dbg(&pdev->dev, dev_dbg(&pdev->dev, "probe deferred due to missing rtc src clk\n"); "probe deferred due to missing rtc src clk\n"); clk_disable_unprepare(info->rtc_clk); goto err_src_clk; return ret; } } clk_prepare_enable(info->rtc_src_clk); clk_prepare_enable(info->rtc_src_clk); } } Loading Loading @@ -575,6 +574,7 @@ static int s3c_rtc_probe(struct platform_device *pdev) if (info->data->needs_src_clk) if (info->data->needs_src_clk) clk_disable_unprepare(info->rtc_src_clk); clk_disable_unprepare(info->rtc_src_clk); err_src_clk: clk_disable_unprepare(info->rtc_clk); clk_disable_unprepare(info->rtc_clk); return ret; return ret; Loading Loading
drivers/rtc/rtc-s3c.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -510,8 +510,7 @@ static int s3c_rtc_probe(struct platform_device *pdev) else else dev_dbg(&pdev->dev, dev_dbg(&pdev->dev, "probe deferred due to missing rtc src clk\n"); "probe deferred due to missing rtc src clk\n"); clk_disable_unprepare(info->rtc_clk); goto err_src_clk; return ret; } } clk_prepare_enable(info->rtc_src_clk); clk_prepare_enable(info->rtc_src_clk); } } Loading Loading @@ -575,6 +574,7 @@ static int s3c_rtc_probe(struct platform_device *pdev) if (info->data->needs_src_clk) if (info->data->needs_src_clk) clk_disable_unprepare(info->rtc_src_clk); clk_disable_unprepare(info->rtc_src_clk); err_src_clk: clk_disable_unprepare(info->rtc_clk); clk_disable_unprepare(info->rtc_clk); return ret; return ret; Loading