[PATCH 19/19] omap: McBSP: Drop unnecessary status/error bit clearing on reg_cacheretrieved register values
Tony Lindgren
tony at atomide.com
Thu Mar 11 19:10:59 EST 2010
* Tony Lindgren <tony at atomide.com> [100311 16:04]:
> From eee91441bf26c6ea88656eb9866e706b1e07d30b Mon Sep 17 00:00:00 2001
> From: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>
> Date: Tue, 23 Feb 2010 15:50:38 +0000
> Subject: [PATCH] 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.
And this one is really patch 18/19. Sorry again.
Tony
More information about the linux-arm-kernel
mailing list