]> 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)
commit0fc157284f64dfc950edc9cf07f609eb4f0c8709
treefda649c0baaa9b089dfa51f873fd1459abdd1ec9
parentaad9043ea875539a908c5613553a7621fa5c515b
PM / devfreq: tegra30: Disable clock on error in probe

This error path needs to call clk_disable_unprepare().

Fixes: 8fef29effd89 ("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