From: Addy Ke Date: Thu, 25 Sep 2014 06:59:41 +0000 (+0800) Subject: spi/rockchip: fix bug that cause the failure to read data in DMA mode X-Git-Tag: fixes-for-v3.18-merge-window~30^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24e70c0ac146f8bcae3cdb7f514950d5b32219e;p=pandora-kernel.git 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 Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed