diff options
-rw-r--r-- | drivers/dma/sh/shdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sh/shdma.c b/drivers/dma/sh/shdma.c index 8201bb4e0cd7..62eff4800521 100644 --- a/drivers/dma/sh/shdma.c +++ b/drivers/dma/sh/shdma.c | |||
@@ -326,7 +326,7 @@ static int sh_dmae_set_slave(struct shdma_chan *schan, | |||
326 | shdma_chan); | 326 | shdma_chan); |
327 | const struct sh_dmae_slave_config *cfg = dmae_find_slave(sh_chan, slave_id); | 327 | const struct sh_dmae_slave_config *cfg = dmae_find_slave(sh_chan, slave_id); |
328 | if (!cfg) | 328 | if (!cfg) |
329 | return -ENODEV; | 329 | return -ENXIO; |
330 | 330 | ||
331 | if (!try) | 331 | if (!try) |
332 | sh_chan->config = cfg; | 332 | sh_chan->config = cfg; |