From: Janusz Krzysztofik Date: Tue, 23 Feb 2010 15:50:38 +0000 (+0000) Subject: omap: McBSP: Drop unnecessary status/error bit clearing on reg_cacheretrieved registe... X-Git-Tag: v2.6.34-rc2~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0841cb826859a4f14c472cc75a782811310f010e;p=pandora-kernel.git omap: McBSP: Drop unnecessary status/error bit clearing on reg_cacheretrieved register values 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. Tested on Amstrad Delta. Reported-by: Peter Ujfalusi Signed-off-by: Janusz Krzysztofik Acked-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed