]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: tegra30: Disable clock on error in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Sep 2020 07:25:57 +0000 (10:25 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 23 Sep 2020 04:35:58 +0000 (13:35 +0900)
commitab00a12689446b9397143071c0e4ee160b59a575
treefda649c0baaa9b089dfa51f873fd1459abdd1ec9
parentf4c40e66f42fba0f1baafa35ca5c1724283da794
PM / devfreq: tegra30: Disable clock on error in probe

This error path needs to call clk_disable_unprepare().

Fixes: 290f3facde37 ("PM / devfreq: tegra30: Handle possible round-rate error")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c