diff options
| author | Maxime Chevallier <[email protected]> | 2018-07-17 14:31:53 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-07-24 14:58:32 +0000 |
| commit | 0486dd4d6111b969a81b9ce63bfaf22e414839a4 (patch) | |
| tree | 910814e5250ebfd3292db5044ecb26a37c91d430 /tools/perf/scripts/python/sched-migration.py | |
| parent | spi: imx: Use correct number of bytes per words (diff) | |
| download | kernel-0486dd4d6111b969a81b9ce63bfaf22e414839a4.tar.gz kernel-0486dd4d6111b969a81b9ce63bfaf22e414839a4.zip | |
spi: imx: remove unnecessary check in spi_imx_can_dma
The spi_imx_can_dma function computes the watermark level so that
the transfer will fit in exactly N bursts (without a remainder).
The smallest watermark level possible being one FIFO entry per burst, we
can't never have a case where the transfer size isn't divsiible by 1.
Remove the extra check for the wml being different than 0.
Signed-off-by: Maxime Chevallier <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
