ASoC: Intel: sof_rt5682: Perform quirk check first in card late probe
authorYong Zhi <yong.zhi@intel.com>
Mon, 25 Jul 2022 19:49:08 +0000 (14:49 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Jul 2022 21:37:11 +0000 (22:37 +0100)
commit371a3f01fc1862c23fae35cb2c98ffb2eec143f1
tree532c47d5cc2c971df49c7d5b7c2de6a3eb4cbfad
parent1f6645b1ee792fcb5bd621af7845430cc0de1531
ASoC: Intel: sof_rt5682: Perform quirk check first in card late probe

The check of sof_rt5682_quirk should not be skipped unless the HDMI
handling code exits with error, fix by moving the quirk check to the front.

Fixes: 94d2d0897474 ("ASoC: Intel: Boards: tgl_max98373: add dai_trigger function")
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220725194909.145418-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c