]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: fsl_asrc: protect macro argument
authorStefan Agner <stefan@agner.ch>
Wed, 6 Dec 2017 15:17:27 +0000 (16:17 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2017 15:24:58 +0000 (15:24 +0000)
commitd1b726a9018e3f684ce190a1cbe012cb64f363d8
tree0b4a79a16221347f6c305236275c2e81c8cde395
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: fsl_asrc: protect macro argument

Protect macro argument with parentheses to avoid ambiguity.
This fixes a warning seen with clang:
  warning: logical not is only applied to the left hand side of this comparison

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.h