commit | d4820b7496219edd9a7055022681364d304525f7 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@atmel.com> | Tue Mar 19 15:42:15 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Apr 01 14:40:39 2013 +0100 |
tree | efaef510f248393c0c29dd085cb4fedab1bb2b34 | |
parent | faa98f7ea6c720beec8a800c9ac6975f760467e2 [diff] |
spi/spi-atmel: detect the capabilities of SPI core by reading the VERSION register. The "has_dma_support" needed for future use with dmaengine driver. [Fixed some unneded ternery operators -- broonie] Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>