From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@st.com (viresh kumar) Date: Tue, 19 Apr 2011 14:40:07 +0530 Subject: [PATCH V2 7/7] dmaengine/dw_dmac: implement pause and resume in dwc_control In-Reply-To: <20110419085514.GG2820@pulham.picochip.com> References: <20110419085514.GG2820@pulham.picochip.com> Message-ID: <4DAD516F.50901@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/19/2011 02:25 PM, Jamie Iles wrote: >>From the Synopsys datasheet it looks to me like pausing by clearing the > channel enable bit could cause data to be lost. I think you need to set > the CH_SUSP bit and wait for the FIFO_EMPTY flag to go high then disable > the channel. Yes, Previously i looked at some other doc of dwc and couldn't find this info. But now found it in datasheet. Will correct and resend it. -- viresh