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)
commitb6460366fbadc160604f50047d0394c7fc39ceab
treed6d6773bffc0449115464bad5f8db9afcbccdbdb
parent09222fc33f8e22e81d34a7518e6dd120e4128a11
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