spicc: fix the condition issue of dma [1/1]
authorSunny Luo <sunny.luo@amlogic.com>
Thu, 19 Sep 2019 11:21:34 +0000 (19:21 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 18 Oct 2019 07:22:05 +0000 (00:22 -0700)
commita5f97be7baaeea94fa510ba8c1993fd0b32dff8b
treeb1853d4a51be50b8be820a414c2fccb0687b81fa
parentbf875eb00252f85c86e859891e90662632f0eae4
spicc: fix the condition issue of dma [1/1]

PD#SH-1213

Problem:
spicc will not run dma if bits_per_word isn't 64,
though dma mapped by the slave driver.

Solution:
change to run dma once dma mapped

Verify:
axg s400

Change-Id: I8625f973bdd5a2d69831e2c766dd43bc0417e0a5
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
drivers/spi/spi-meson-spicc.c