spi/spi-atmel: detect the capabilities of SPI core by reading the VERSION register.
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 19 Mar 2013 07:42:15 +0000 (15:42 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 13:40:39 +0000 (14:40 +0100)
commitd4820b7496219edd9a7055022681364d304525f7
treeefaef510f248393c0c29dd085cb4fedab1bb2b34
parentfaa98f7ea6c720beec8a800c9ac6975f760467e2
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>
drivers/spi/spi-atmel.c