aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/base.h
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>2010-02-23 15:50:38 +0000
committerTony Lindgren <tony@atomide.com>2010-03-12 09:16:09 -0800
commit0841cb826859a4f14c472cc75a782811310f010e (patch)
tree79a088cfdf9468b5bd3235062ff5b3d13991b462 /drivers/pnp/base.h
parentaa4b1f6e83aaf20997edc4c10e03baf834343e5a (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 'drivers/pnp/base.h')
0 files changed, 0 insertions, 0 deletions