Gilles Chanteperdrix wrote: > Jon Povey wrote: >> I think I have a fix for this now - just CC'd you on the patch RFC >> >> [RFC] mmc: davinci: fix corruption after surprise card eject >> >> (Which fixes it, but may not be the best way of going about it). > > If I read you correctly, it seems that the fix does things which are > already done, right? So, how come it fixes ? :-)
Not sure I understand. The existing code resets the controller core when handling certain errors, but more MMC commands are run after those error handlers. Presumably one of those puts the core into a bad state, a later reset (my patch) fixes it. Feel free to try it out! > Although, maybe it may makes sense to post the patch on the > linux-arm-kernel mailing list too. Hmm, should maybe have CC'd them. And David Brownell. Ho well. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source