git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b5870
)
thermal: kirkwood: Fix valid check for thermal register
author
Ezequiel Garcia
<ezequiel.garcia@free-electrons.com>
Thu, 21 Mar 2013 20:42:07 +0000
(17:42 -0300)
committer
Zhang Rui
<rui.zhang@intel.com>
Tue, 26 Mar 2013 14:09:14 +0000
(22:09 +0800)
The correct value is obtain by first shifting the register by the offset,
later applying the valid mask and finally invert the result.
This check was lacking an extra parenthesis to be strictly correct.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
No differences found