From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Wed, 25 May 2011 02:32:17 +0000 Subject: Re: [PATCH 0/3] Make DMA slave ID 0 invalid to simplify platform data Message-Id: <20110525023217.GF14329@linux-sh.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, Simon Horman , Magnus Damm , Ian Molton , Dan Williams , Vinod Koul On Tue, May 24, 2011 at 12:23:55PM +0200, Guennadi Liakhovetski wrote: > Currently platforms, using the SDHI TMIO driver, have to specify negative > DMA slave IDs to force PIO mode. If default 0 is left, the driver > recognises it as a valid DMA slave ID and tries to acquire channels. This > fails then, because the driver cannot allocate two channels with the same > ID, but it would be better to just make 0 an invalid ID to prevent this. > I suppose the ordering for this will be adding the invalid IDs for all of the CPUs first and then updating the SDHI driver accordingly during -rc2 or something like that.