diff options
author | zpershuai <zpershuai@gmail.com> | 2021-05-27 18:20:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 14:42:48 +0200 |
commit | f6d28f0e36e93570f2843abef9969681860c38e7 (patch) | |
tree | 7b35f038f452967904fc68877631eba5050b6fa9 /drivers/fsi | |
parent | 0ea21221dd5a914205f206835e0d43f8ca23d494 (diff) |
spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
[ Upstream commit f131767eefc47de2f8afb7950cdea78397997d66 ]
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: zpershuai <zpershuai@gmail.com>
Link: https://lore.kernel.org/r/1622110857-21812-1-git-send-email-zpershuai@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions