Skip to content
Unverified Commit 1e7dae68 authored by Yuanjun Gong's avatar Yuanjun Gong Committed by Mark Brown
Browse files

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: default avatarYuanjun Gong <ruc_gongyuanjun@163.com>
Link: https://lore.kernel.org/r/20230720140859.33883-1-ruc_gongyuanjun@163.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c5a7b668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment