]> 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)
commite31512bf8d3b39a19a38d43c95696ece61075fff
treeefaef510f248393c0c29dd085cb4fedab1bb2b34
parentbb58523dff8813f9f59c9ad4631f2b78e399eab4
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