diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-01-27 14:58:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-28 16:06:52 +0300 |
commit | 20dc69ca1023b7e4c4af3c3495aa5a91e1a9be39 (patch) | |
tree | ffc2044a90d16fa42a14d77e0ab2afbe0a93c469 /drivers/spi/spi-pxa2xx.c | |
parent | 474fc2e6395d62758e80b9ea65f61339296355fc (diff) | |
download | linux-20dc69ca1023b7e4c4af3c3495aa5a91e1a9be39.tar.xz |
spi: Fix missing unlock on error in sp7021_spi_master_transfer_one()
Add the missing unlock before return from sp7021_spi_master_transfer_one()
in the error handling case.
Fixes: f62ca4e2a863 ("spi: Add spi driver for Sunplus SP7021")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220127115815.3148950-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions