From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Hein Tibosch <hein_tibosch@yahoo.es>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
viresh kumar <viresh.kumar@linaro.org>,
spear-devel <spear-devel@list.st.com>,
Hans-Christian Egtvedt <egtvedt@samfundet.no>,
Arnd Bergmann <arnd.bergmann@linaro.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"ludovic.desroches" <ludovic.desroches@atmel.com>,
Havard Skinnemoen <havard@skinnemoen.net>,
Nicolas Ferre <nicolas.ferre@atmel.com>
Subject: Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable
Date: Mon, 15 Oct 2012 10:31:50 +0300 [thread overview]
Message-ID: <1350286310.10584.173.camel@smile> (raw)
In-Reply-To: <507B5B3E.60102@yahoo.es>
On Mon, 2012-10-15 at 08:39 +0800, Hein Tibosch wrote:
> Hi Andy,
> On 10/15/2012 4:08 AM, Andy Shevchenko wrote:
> > On Sun, Oct 14, 2012 at 10:54 AM, Hein Tibosch <hein_tibosch@yahoo.es> wrote:
> >> From: Hein Tibosch <hein_tibosch@yahoo.es>
> >>
> >> The dw_dmac was originally developed for avr32 to be used with the Synopsys
> >> DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's i/o
> >> <snip>
> >> #define dma_readl(dw, name) \
> >> - readl(&(__dw_regs(dw)->name))
> >> + dma_readl_native(&(__dw_regs(dw)->name))
> >> #define dma_writel(dw, name, val) \
> >> - writel((val), &(__dw_regs(dw)->name))
> >> + dma_writel_native((val), &(__dw_regs(dw)->name))
> >>
> >> #define channel_set_bit(dw, reg, mask) \
> >> dma_writel(dw, reg, ((mask) << 8) | (mask))
> > Why did you not change this one?
>
> Because "dma_writel" already calls "dma_writel_native"
Sure,
looks good for me.
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
next prev parent reply other threads:[~2012-10-15 7:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 7:54 [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable Hein Tibosch
2012-10-14 19:09 ` Arnd Bergmann
2012-10-14 20:08 ` Andy Shevchenko
2012-10-15 0:39 ` Hein Tibosch
2012-10-15 7:31 ` Andy Shevchenko [this message]
2012-10-15 3:19 ` viresh kumar
2012-10-23 23:12 ` Andrew Morton
2012-10-24 0:53 ` Hein Tibosch
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=1350286310.10584.173.camel@smile \
--to=andriy.shevchenko@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=andy.shevchenko@gmail.com \
--cc=arnd.bergmann@linaro.org \
--cc=egtvedt@samfundet.no \
--cc=havard@skinnemoen.net \
--cc=hein_tibosch@yahoo.es \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@atmel.com \
--cc=nicolas.ferre@atmel.com \
--cc=spear-devel@list.st.com \
--cc=viresh.kumar@linaro.org \
/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