diff options
author | 2023-08-23 12:42:02 -0700 | |
---|---|---|
committer | 2023-08-25 22:07:10 +0200 | |
commit | 7f2e65a8f546a0b1e5fd0770c802c5e4af9cf14e (patch) | |
tree | 218e0c1e168cacb579ddb549827a10d5587d78cd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: muxes: pca954x: Add regulator support (diff) | |
download | linux-rng-7f2e65a8f546a0b1e5fd0770c802c5e4af9cf14e.tar.xz linux-rng-7f2e65a8f546a0b1e5fd0770c802c5e4af9cf14e.zip |
i2c: qcom-cci: Fix error checking in cci_probe()
devm_clk_bulk_get_all() can return zero when no clocks are obtained.
Passing zero to dev_err_probe() is a success which is incorrect.
Fixes: 605efbf43813 ("i2c: qcom-cci: Use dev_err_probe in probe function")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions