commit | ce386100d99976442093ff57b5b24a9562c6cc27 | [log] [tgz] |
---|---|---|
author | Emil Renner Berthing <kernel@esmil.dk> | Wed Oct 31 11:57:02 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 05 11:42:06 2018 +0000 |
tree | 5fe214f802c4417dd71d79c78095d31c9261b94b | |
parent | fab3e4871f623c8f86e8a0e00749f1480ffa08db [diff] |
spi: rockchip: disable spi on error Successful transfers leave the spi disabled, so if we just make sure to disable the spi on error there should be no need to disable the spi from master->unprepare_message. This also flushes the tx and rx fifos, so no need to do that manually. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Mark Brown <broonie@kernel.org>