diff options
author | Gao Pan <pandy.gao@nxp.com> | 2016-11-24 19:04:42 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-25 13:04:47 +0000 |
commit | 14de3918eacfc624023775c319e85e6597514195 (patch) | |
tree | 625f20f1d1031d5ddb1ce6f7a5c4be3ba5c0ecf4 /Makefile | |
parent | e3a49390ebefec6f7e3d447b5ba3ba253dd51145 (diff) |
spi: imx: replace schedule() with cond_resched()
It's more rational that just do the schedule when necessary
other than do it every time. Thus, it's better to replace
schedule() with cond_resched() in fsl_lpspi_txfifo_empty(),
which contributes to saving cpu time.
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions