commit | 0a4ec2c158634afa208ceda970b2c83764a1d99c | [log] [tgz] |
---|---|---|
author | Esben Haabendal <eha@deif.com> | Wed Jun 20 09:34:34 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Jun 20 14:46:03 2018 +0100 |
tree | d40d146310dee59ba9538c7b111f35e9a5ff40d6 | |
parent | 9e1dc9bd099363760afdd2316fc057f9ca38b559 [diff] |
spi: spi-fsl-dspi: Simplify transfer counter handling Simplify driver by avoiding counter wrapping by clearing transfer counter on first SPI transfer per interrupt instead of tracking what it was before. Signed-off-by: Esben Haabendal <eha@deif.com> Acked-by: Martin Hundebøll <martin@geanix.com> Signed-off-by: Mark Brown <broonie@kernel.org>