diff options
author | Qinglang Miao <miaoqinglang@huawei.com> | 2020-11-03 15:07:43 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-12-03 22:40:31 +0300 |
commit | 560c6b914c6ec7d9d9a69fddbb5bf3bf71433e8b (patch) | |
tree | 2de6099b2879401b08af25393bf7a6681f012607 /COPYING | |
parent | 3f9bce7a22a3f8ac9d885c9d75bc45569f24ac8b (diff) | |
download | linux-560c6b914c6ec7d9d9a69fddbb5bf3bf71433e8b.tar.xz |
iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
Fix the missing clk_disable_unprepare() of info->pclk
before return from rockchip_saradc_resume in the error
handling case when fails to prepare and enable info->clk.
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Fixes: 44d6f2ef94f9 ("iio: adc: add driver for Rockchip saradc")
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201103120743.110662-1-miaoqinglang@huawei.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions