diff options
-rw-r--r-- | drivers/spi/spi-tegra20-slink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index dd6f26c05947..a728bb82090f 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c | |||
@@ -630,8 +630,8 @@ static int tegra_slink_init_dma_param(struct tegra_slink_data *tspi, | |||
630 | int ret; | 630 | int ret; |
631 | struct dma_slave_config dma_sconfig; | 631 | struct dma_slave_config dma_sconfig; |
632 | 632 | ||
633 | dma_chan = dma_request_slave_channel(tspi->dev, | 633 | dma_chan = dma_request_slave_channel_reason(tspi->dev, |
634 | dma_to_memory ? "rx" : "tx"); | 634 | dma_to_memory ? "rx" : "tx"); |
635 | if (IS_ERR(dma_chan)) { | 635 | if (IS_ERR(dma_chan)) { |
636 | ret = PTR_ERR(dma_chan); | 636 | ret = PTR_ERR(dma_chan); |
637 | if (ret != -EPROBE_DEFER) | 637 | if (ret != -EPROBE_DEFER) |