Staging: et131x: fix | vs & typos
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 9 Jun 2012 09:17:01 +0000 (12:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 15:47:51 +0000 (08:47 -0700)
commitb5b86a4d99f48e5ac28c19ae2a00415e26a7ac1a
tree28795e577718539aff808d2b429668ab1ee0c158
parent397d3e6029cb816d7a9a78531528a62d08c70d3f
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>
drivers/staging/et131x/et131x.c