ASoC: SOF: ipc4-topology: clarify calculation precedence
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 20 Sep 2022 14:54:04 +0000 (16:54 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 18:07:36 +0000 (19:07 +0100)
commit80d53171f85a8e97b2aa1d50045dbc1b5dd1bc97
treef5133c20a6cc86beff2dc333ec90c0715fd2340a
parent9f27530a7357c69865da6177db02d3eb230c33a1
ASoC: SOF: ipc4-topology: clarify calculation precedence

cppcheck warning:

sound/soc/sof/ipc4-topology.c:334:64: style: Clarify calculation
precedence for '&' and '?'. [clarifyCalculation]
 type = fw_module->man4_module_entry.type & SOF_IPC4_MODULE_DP ? 1 : 0;
                                                               ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Chao Song <chao.song@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220920145405.2089147-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c