]> git.baikalelectronics.ru Git - kernel.git/commit
spi/qspi: fix missing unlock on error in ti_qspi_start_transfer_one()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 1 Sep 2013 01:01:00 +0000 (09:01 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 1 Sep 2013 12:47:55 +0000 (13:47 +0100)
commitfd418e6a1dab68ecc0a68a6a43f7c53dad6dbe17
treed6d6773bffc0449115464bad5f8db9afcbccdbdb
parente15c218005e4dc2d2ee3cdbaee76ac88c8517285
spi/qspi: fix missing unlock on error in ti_qspi_start_transfer_one()

Add the missing unlock before return from function ti_qspi_start_transfer_one()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ti-qspi.c