On Saturday 14 May 2016 14:17:08 Niklas Söderlund wrote:
> +       chan = dma_request_slave_channel_reason(dev, chan_name);
> +       if (IS_ERR(chan)) {
> +               ret = PTR_ERR(chan);
> +               dev_dbg(dev, "request_channel failed for %s (%d)\n",
> +                       chan_name, ret);
> +               return chan;
> +       }
> 

I think you should now use dma_request_chan() for new drivers.

        Arnd

Reply via email to