From: Arnd Bergmann <arnd@arndb.de>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: wsa@the-dreams.de, linux-i2c@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCHv2] i2c: rcar: add DMA support
Date: Wed, 18 May 2016 15:23:07 +0200 [thread overview]
Message-ID: <6110679.RmWR1Poicp@wuerfel> (raw)
In-Reply-To: <1463228228-32560-1-git-send-email-niklas.soderlund+renesas@ragnatech.se>
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
next prev parent reply other threads:[~2016-05-18 13:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-14 12:17 [PATCHv2] i2c: rcar: add DMA support Niklas Söderlund
2016-05-15 6:52 ` Wolfram Sang
2016-05-18 13:23 ` Arnd Bergmann [this message]
2016-05-19 8:01 ` Niklas Söderlund
2016-05-19 8:09 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6110679.RmWR1Poicp@wuerfel \
--to=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox