[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4DAD25E7.4030602@st.com>
Date: Tue, 19 Apr 2011 11:34:23 +0530
From: viresh kumar <viresh.kumar@...com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Vinod Koul <vinod.koul@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
amitgoel <amit.goel@...com>,
Armando VISCONTI <armando.visconti@...com>,
Shiraz HASHIM <shiraz.hashim@...com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
"viresh.linux@...il.com" <viresh.linux@...il.com>
Subject: Re: [PATCH] dmaengine: implement pause and resume for dw_dmac
On 04/19/2011 10:59 AM, viresh kumar wrote:
> On 04/19/2011 06:01 AM, Linus Walleij wrote:
>> > It seems that the SPEAr needs this.
>> >
>> > Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> Thanks for sending this.
> Actually i wasn't sure that disabling channel will simply pause it, and not
> finish the transfer. So, didn't went for this change.
>
>> > ---
>> > drivers/dma/dw_dmac.c | 22 ++++++++++++++++++++--
>> > drivers/dma/dw_dmac_regs.h | 1 +
>> > 2 files changed, 21 insertions(+), 2 deletions(-)
Moreover, dwc_tx_status() must be updated to add following code:
if (dwc->paused)
return DMA_PAUSED;
Will do that while sending it in my patchset.
--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists