aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2019-07-25 15:56:18 +0800
committerWolfram Sang <wsa@the-dreams.de>2019-08-06 22:54:23 +0200
commitbbeb6b6c07960b8d33bed5352ef462228110c5ab (patch)
treea65a33aa601a5aa6770861e6e3ccba90b1c53071 /tools/perf/scripts/python
parenti2c: sprd: Change to use devm_platform_ioremap_resource() (diff)
downloadlinux-bbeb6b6c07960b8d33bed5352ef462228110c5ab.tar.gz
linux-bbeb6b6c07960b8d33bed5352ef462228110c5ab.zip
i2c: sprd: Validate the return value of clock initialization
The 'enable' clock of I2C master is required, we should return an error if failed to get the 'enable' clock, to make sure the I2C driver can be defer probe if the clock resource is not ready. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions