]> git.baikalelectronics.ru Git - kernel.git/commit
spi: tegra: convert to standard DMA DT bindings
authorStephen Warren <swarren@nvidia.com>
Mon, 11 Nov 2013 20:13:47 +0000 (13:13 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 11 Dec 2013 23:44:23 +0000 (16:44 -0700)
commitc0109aafd7385896aaa2d5469e1c9385e3d9d1b6
tree821641c84881d27bb5d8b1fe9a3fc83667f9472c
parent24577ea89c49dad4b481c6c87cdfb8e4b0ce9a5d
spi: tegra: convert to standard DMA DT bindings

By using dma_request_slave_channel_or_err(), the DMA slave ID can be
looked up from standard DT properties, and squirrelled away during
channel allocation. Hence, there's no need to use a custom DT property
to store the slave ID.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tegra114.c
drivers/spi/spi-tegra20-slink.c