Hi! > > > I can't see how, though. As far as I can tell there's no way to just > > > dump bytes from the TXFIFO. In slave mode they just stay there until > > > the master initiates a transfer. The only solution I can think of is to > > > avoid pushing more data there until we're in sync. > > > > On ->probe() always start as a master in case of this hardware, drain > > FIFO, switch to slave. > > Would that work? > > It sounds like it would. > > Do you object how this is currently done solely because it's ugly? > > Because perhaps it could be done away with completely and dealt with in > firmware (see the original commit message). The firmware already needs > heavy patching [1] to bring Linux up; maybe one more patch could be > tolerable. Lets not do that. Its somehow late to start fixing firmware at this point... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature