Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86675ecc authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Mauro Carvalho Chehab
Browse files

[media] atomisp: use logical AND, not bitwise



Fixes sparse warning "dubious: x & !y" in logical expression.

Signed-off-by: default avatarGuru Das Srinagesh <gurooodas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 158aeefc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1658,7 +1658,7 @@ ia_css_binary_find(struct ia_css_binary_descr *descr,
			candidate->internal.max_height);
			continue;
		}
		if (!candidate->enable.ds && need_ds & !(xcandidate->num_output_pins > 1)) {
		if (!candidate->enable.ds && need_ds && !(xcandidate->num_output_pins > 1)) {
			ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE,
				"ia_css_binary_find() [%d] continue: !%d && %d\n",
				__LINE__, candidate->enable.ds, (int)need_ds);