aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYuanjun Gong <ruc_gongyuanjun@163.com>2023-07-20 22:08:59 +0800
committerMark Brown <broonie@kernel.org>2023-07-20 15:29:10 +0100
commit1e7dae68510aa90a022fefed392fa794b16bc68b (patch)
treef35a3f143fdd9333b6e9267dd63731e7b2665025 /tools/perf/scripts/python
parentc5a7b66811d22a4901bd358447e59160dbda8f65 (diff)
spi: fix return value check in bcm2835_spi_probe()
in bcm2835_spi_probe(), clk_prepare_enable() may fail, therefore, the return value of clk_prepare_enable() should be checked, and the function should return error if clk_prepare_enable() fails. Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com> Link: https://lore.kernel.org/r/20230720140859.33883-1-ruc_gongyuanjun@163.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions