diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-03-21 17:42:07 -0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-03-26 22:09:14 +0800 |
commit | 02519d3397b57bf723f6df69c92b0b66ecafb11a (patch) | |
tree | 2a3c05e2ce9fd1aba52325fa567edd0535b5540b /.gitignore | |
parent | f8b587055a793c7719f0d4f41b7b4aeeef43aa2d (diff) | |
download | linux-02519d3397b57bf723f6df69c92b0b66ecafb11a.tar.bz2 |
thermal: kirkwood: Fix valid check for thermal register
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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions