Maxime Chevallier 0486dd4d61
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 <maxime.chevallier@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-24 15:58:32 +01:00
..
2018-05-31 11:23:09 +01:00
2017-07-17 12:09:38 +01:00
2016-07-07 11:44:43 +02:00
2015-12-07 20:09:09 +00:00
2018-05-03 10:27:43 +09:00
2017-01-23 18:09:37 +00:00
2018-04-24 16:10:12 +01:00
2017-08-10 15:50:23 +01:00
2017-05-26 12:41:07 +01:00