]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 19 Aug 2022 12:47:40 +0000 (14:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2022 12:55:40 +0000 (14:55 +0200)
commit1f127e1681eaa233c4938764e7911569122c1fa9
tree0000d680dfc2aa2b75651d07c51ea0cdc0d3bada
parentceb8b9196cca644acc2e85d12305b3f0075409cc
ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled

hda_codec_device_init() expects three parameters, not two.

Fixes: ad0d47518566 ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220819124740.3564862-1-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/sof/intel/hda-codec.c