commit | a3c174021ce780f5d2e9b2105e2cb4903a37226d | [log] [tgz] |
---|---|---|
author | Emil Renner Berthing <kernel@esmil.dk> | Wed Oct 10 11:00:38 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 11 15:17:45 2018 +0100 |
tree | f2c8054a81796155174747778d431da62a510797 | |
parent | d9071b7e9fc474e474e3b865428a8d30d88daaf4 [diff] |
spi: rockchip: simplify spi enable logic Let the dma/non-dma code paths handle the spi enable flag themselves. This removes some logic to determine if the flag should be turned on before or after dma and also don't leave the spi enabled if the dma path fails. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Mark Brown <broonie@kernel.org>