]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffdcecfef7ef5bbb79e244bd549f61a12e9fdda9
treeefaef510f248393c0c29dd085cb4fedab1bb2b34
parent6cb570c385f53a81c2baf6434763bc287a04f4b5
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