Dan Carpenter 8a0a1af30c spi: tegra: checking for ERR_PTR instead of NULL
dma_request_slave_channel() returns NULL on error and not ERR_PTRs.
I've fixed this by using dma_request_slave_channel_reason() which does
return ERR_PTRs.

Fixes: a915d150f68d ('spi: tegra: convert to standard DMA DT bindings')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2013-12-16 09:51:58 -07:00
..
2013-11-27 01:03:27 +01:00
2013-12-06 08:30:18 -08:00
2013-11-19 15:53:02 -05:00
2013-12-11 16:45:13 -07:00
2013-11-27 01:03:27 +01:00
2013-12-11 16:44:04 -07:00
2013-11-15 14:05:15 -08:00
2013-11-18 15:35:09 -08:00
2013-12-06 08:30:18 -08:00
2013-12-11 16:44:48 -07:00
2013-12-02 10:12:01 -08:00