From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Williams Date: Wed, 03 Feb 2010 00:34:15 +0000 Subject: Re: [PATCH 3/3 v2] sh: implement DMA_SLAVE capability in SH dmaengine Message-Id: <4B68C487.7010704@intel.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org Guennadi Liakhovetski wrote: > Tested to work with a SIU ASoC driver on sh7722 (migor). > > Signed-off-by: Guennadi Liakhovetski > --- [..] > + /* > + * Called under dma_list_mutex, take care to perform all slave channel > + * ID manipulations under that lock. > + */ Not that I think we will ever see scalability patches aimed at breaking up the "big dma_list_mutex lock", but it makes me a bit uneasy that this relies on an internal implementation detail of dmaengine. Please add a private lock here. Thanks, Dan