]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] coda: Use && instead of & for non-bitfield conditions
authorMichael Tretter <m.tretter@pengutronix.de>
Fri, 3 Mar 2017 12:12:47 +0000 (09:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 13:06:24 +0000 (10:06 -0300)
commit888708b1decb7d12e09095cd67e5b6442401cd51
treea8deffe394ab04adcbbcde42a26100d97a931e6c
parent89ed025d5c53f4ca0193ed71bfaf007259be2a8f
[media] coda: Use && instead of & for non-bitfield conditions

streamon and streamoff are used as boolean values, not as bitfields.
Therefore, the logical && should be used to combine them.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c