linux/sound/soc/intel
Pierre-Louis Bossart f1bf9a6b4e
ASoC: Intel: sof_sdw: remove ternary operator
cppcheck reports the following warning:

sound/soc/intel/boards/sof_sdw.c:866:46: style: Clarify calculation
precedence for '&' and '?'. [clarifyCalculation]
 hdmi_num = sof_sdw_quirk & SOF_SDW_TGL_HDMI ?
                                             ^

There's no reason to use the ternary operator here, we might as well
use a regular if-else construct.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Jaska Uimonen <jaska.uimonen@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200923080514.3242858-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-09-23 18:13:12 +01:00
..
atom Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
baytrail ASoC: Intel: Baytrail: (cosmetic) align function parameters 2020-08-18 11:50:18 +01:00
boards ASoC: Intel: sof_sdw: remove ternary operator 2020-09-23 18:13:12 +01:00
common ASoC: Intel: soc-acpi: add support for SDCA boards 2020-08-24 13:41:28 +01:00
haswell Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
keembay ASoC: Intel: KeemBay: Fix warning potential ! vs ~ typo 2020-09-07 15:28:57 +01:00
skylake ASoC: hdac: make SOF HDA codec driver probe deterministic 2020-09-21 23:57:24 +01:00
Kconfig ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
Makefile ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00