commit | 2ff271bf6505038d8c937e73438ea3c80c387439 | [log] [tgz] |
---|---|---|
author | Alek Du <[email protected]> | Wed Mar 30 23:09:54 2011 +0800 |
committer | Grant Likely <[email protected]> | Wed Mar 30 21:31:48 2011 -0600 |
tree | 082f4462c98661a6b4da3e924cafe20df9cf9218 | |
parent | 8a33a373e5ffb6040c58ff41ea48ba21d5f8b5e9 [diff] |
spi/dw_spi: change poll mode transfer from byte ops to batch ops Current poll transfer will read/write one word, then wait till the hw is non-busy, it's not efficient. This patch will try to read/write as many words as permitted by hardware FIFO depth. Signed-off-by: Alek Du <[email protected]> Signed-off-by: Feng Tang <[email protected]> Signed-off-by: Grant Likely <[email protected]>