On Tue, 23 Feb 2010 16:50:38 +0100 Janusz Krzysztofik <jkrzyszt@xxxxxxxxxxxx> wrote: > The MsBSP register cache will never have any error/status flags set, since > these flags are never written to the reg_cache. So it is kind of not > necessary to clear these flags, which are actually always 0. > > In other words, clearing the status/error flags are not necessary, since the > reg_cache will never got these bits set. We can just write back the > register content from the cache as it is when clearing an error condition. > > Created against l-o for-next commit 62a7c2cc4c8e57e80ccf379536f362fe6e863ac3 > dated 2010-02-22. > Tested on Amstrad Delta. > > Reported-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxx> > Signed-off-by: Janusz Krzysztofik <jkrzyszt@xxxxxxxxxxxx> > Acked-by: Jarkko Nikula <jhnikula@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html