Re: [PATCH 0/3] Make DMA slave ID 0 invalid to simplify platform data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 May 2011, Paul Mundt wrote:

> 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.

Yes, otherwise it would break SDHI DMA on sh7757, where one of the IDs == 
0.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux