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: NEmil Renner Berthing <kernel@esmil.dk> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录