diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-09 09:17:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-11 15:47:51 (GMT) |
commit | b5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a (patch) | |
tree | 28795e577718539aff808d2b429668ab1ee0c158 /drivers/video/riva/fbdev.c | |
parent | 397d3e6029cb816d7a9a78531528a62d08c70d3f (diff) | |
download | linux-fsl-qoriq-b5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a.tar.xz |
Staging: et131x: fix | vs & typos
These two places seem like they should be using bitwise OR instead of
bitwise AND. The first one is a noop which is equivalent to:
imr |= (0x0100 & 0x0004 & 0x0001);
The second is sets lcr2 to zero instead of just clearing the high bits.
lcr2 &= (0x00F0 & 0x000F);
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/riva/fbdev.c')
0 files changed, 0 insertions, 0 deletions