Staging: comedi: logical || vs bitwise |
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Jan 2012 07:31:13 +0000 (10:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 18:02:22 +0000 (10:02 -0800)
commitcba2c99363beb532c29f9aebf5b22878d88bcb93
tree4c74465b60e9bd97718f446958d86483c31950e8
parent22494ed9b8e9404d6646f85c835bcd7b37d3f562
Staging: comedi: logical || vs bitwise |

These are bitfields and the intend was to OR them together.  A logical
OR here is simply 1.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c