Re: [PATCHv2] i2c: rcar: add DMA support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux