diff options
author | Gao Pan <pandy.gao@nxp.com> | 2016-12-02 04:50:01 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-05 12:45:03 +0100 |
commit | d989eed20791534dc624c7b29568b263c67a286f (patch) | |
tree | 440107ed52f4172f764b6dad26a3a0ee92479ddf /drivers/ipack/ipack.c | |
parent | spi: fsl-lpspi: use GPL as module license (diff) | |
download | linux-d989eed20791534dc624c7b29568b263c67a286f.tar.xz linux-d989eed20791534dc624c7b29568b263c67a286f.zip |
spi: fsl-lpspi: quit reading rx fifo under error condition
In case that error occurs during waiting for txfifo empty, it is
not necessary to read rx fifo. It's better to return directly.
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/ipack/ipack.c')
0 files changed, 0 insertions, 0 deletions