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-12-11 16:44:17 -07:00
2011-06-06 01:16:30 -06:00
2013-11-14 11:04:38 -08:00
2011-09-21 09:41:48 -06:00
2013-08-29 13:56:23 +01:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-05-23 09:09:55 -05:00
2013-11-24 14:15:11 +00:00
2013-08-29 13:56:23 +01:00
2013-10-15 13:15:52 +01:00