ASoC: Intel: bxt_da7219_max98357a: Fix kernel ops due to COMP_DUMMY change
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 8 Jan 2024 09:48:41 +0000 (11:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2024 12:29:44 +0000 (12:29 +0000)
commit59b946ea30806064c4ac78f0ac93642655dd4f2e
tree6f07b76d7e1613e7974599668178295493997eba
parent15de2a27024132fcfe0078e2f56d697a0039e9fa
ASoC: Intel: bxt_da7219_max98357a: Fix kernel ops due to COMP_DUMMY change

The change to avoid dummy components will leave the component name and
dai_name NULL which will cause NULL dereference when trying to access to
it in the machine driver when applying fixups.

Link: https://github.com/thesofproject/linux/pull/4759#issuecomment-1878641868
Fixes: 13f58267cda3 ("ASoC: soc.h: don't create dummy Component via COMP_DUMMY()")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240108094842.28782-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bxt_da7219_max98357a.c