commit | 43c640157d4366a3ea9ba01f903ea892f46376ee | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@st.com> | Mon May 16 09:40:10 2011 +0530 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri May 20 00:43:07 2011 -0600 |
tree | 810fde5e02141f59575305e3fa1606b0a57e6d5f | |
parent | c6e7b8cb11632a3b3968c6f64e179c7619eb70c0 [diff] |
spi/amba-pl022: work in polling or interrupt mode if pl022_dma_probe fails If pl022_dma_probe fails, we can try to transfer data in polling or interrupt mode. Also, set platform_info->enable_dma to 0, so that no other code tries to use dma. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>