[media] v4l: s5c73m3: fix negation operator
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 5 Jan 2017 12:34:07 +0000 (10:34 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:56:49 +0000 (07:56 -0200)
commita2370ba2752538404e363346b339869c9973aeac
treebd1e82e1683ee6f424149a32b281d0ad6d42b6c2
parent21b5a1c33e11bf5a6284ff4fcf42fcc5473b83a4
[media] v4l: s5c73m3: fix negation operator

Bool values should be negated using logical operators. Using bitwise operators
results in unexpected and possibly incorrect results.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c