diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2010-02-23 10:50:38 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-03-12 12:16:09 -0500 |
commit | 0841cb826859a4f14c472cc75a782811310f010e (patch) | |
tree | 79a088cfdf9468b5bd3235062ff5b3d13991b462 /arch/arm/mach-omap2/board-3630sdp.c | |
parent | aa4b1f6e83aaf20997edc4c10e03baf834343e5a (diff) |
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 <peter.ujfalusi@nokia.com>
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-3630sdp.c')
0 files changed, 0 insertions, 0 deletions