Skip to content
Unverified Commit f131767e authored by zpershuai's avatar zpershuai Committed by Mark Brown
Browse files

spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code



In zynq_qspi_probe function, when enable the device clock is done,
the return of all the functions should goto the clk_dis_all label.

If num_cs is not right then this should return a negative error
code but currently it returns success.

Signed-off-by: default avatarzpershuai <zpershuai@gmail.com>
Link: https://lore.kernel.org/r/1622110857-21812-1-git-send-email-zpershuai@gmail.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ec6f20b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment