commit | a24e70c0ac146f8bcae3cdb7f514950d5b32219e | [log] [tgz] |
---|---|---|
author | Addy Ke <addy.ke@rock-chips.com> | Thu Sep 25 14:59:41 2014 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Sep 25 14:14:44 2014 +0100 |
tree | 5efc415cbd87dc6882e03e39d80ca21d9b327719 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 [diff] |
spi/rockchip: fix bug that cause the failure to read data in DMA mode In my test on RK3288-pinky board, if spi is enabled, it will begin to read data from slave regardless of whether the DMA is ready. So we need prepare DMA before spi is enable. Signed-off-by: Addy Ke <addy.ke@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org