From: Lars-Peter Clausen Date: Sun, 17 Aug 2014 14:18:19 +0000 (+0200) Subject: ASoC: rcar: Use && instead of & for boolean expressions X-Git-Tag: fixes-v3.17-rc4~27^2^2^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e6e960733f4a5835265c15429fced4d2f1595e;p=pandora-kernel.git ASoC: rcar: Use && instead of & for boolean expressions Sparse spits out the following warning: sound/soc/sh/rcar/gen.c:250:21: warning: dubious: x & !y It does this because sometimes mixing boolean and bit-wise logic has not the intended result. In this case we are fine, but replacing the bit-wise '&' with the boolean '&&' silences the sparse warning. The generated code for both cases is the same. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed