diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-12-16 15:02:10 +0100 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-12-16 17:51:58 +0100 |
commit | 8a0a1af30cbf56b41220a02e34835022c4d72f41 (patch) | |
tree | a9191bb4d68bfa5639415ff5f62f96de3880ee90 /drivers/platform | |
parent | ASoC: tegra: update module reset list for Tegra124 (diff) | |
download | linux-8a0a1af30cbf56b41220a02e34835022c4d72f41.tar.xz linux-8a0a1af30cbf56b41220a02e34835022c4d72f41.zip |
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>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions