summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-zoom-peripherals.c
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2010-02-23 15:50:38 (GMT)
committerTony Lindgren <tony@atomide.com>2010-03-12 17:16:09 (GMT)
commit0841cb826859a4f14c472cc75a782811310f010e (patch)
tree79a088cfdf9468b5bd3235062ff5b3d13991b462 /arch/arm/mach-omap2/board-zoom-peripherals.c
parentaa4b1f6e83aaf20997edc4c10e03baf834343e5a (diff)
downloadlinux-fsl-qoriq-0841cb826859a4f14c472cc75a782811310f010e.tar.xz
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-zoom-peripherals.c')
0 files changed, 0 insertions, 0 deletions