ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled
Subsystems (3)
PATCH 1/1 ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled
hda_codec_device_init() expects three parameters, not two.
Fixes f2183b08c81a ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
Reported-by kernel test robot <[email protected]>
Signed-off-by Cezary Rojewski <[email protected]>
--- sound/soc/sof/intel/hda-codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/intel/hda-codec.c +1 -1
@@ -213,7 +213,7 @@ static int hda_codec_probe(struct snd_sof_dev *sdev, int address, put_device(&codec->core.dev); }#else - codec =hda_codec_device_init (&hbus->core, address); + codec =hda_codec_device_init (&hbus->core, address,HDA_DEV_ASOC ); ret =PTR_ERR_OR_ZERO (codec);#endif
Signature · 1 line
2.25.1
Mark Brown
maintainerQuoted 3 lines · Cezary Rojewski
hda_codec_device_init()expects three parameters, not two.Fixes f2183b08c81a ("ASoC: Intel: Drop hdac_ext usage for codec device creation")
This commit doesn't appear to exist upstream. Did you mean 3fd63658caed9494cca1d4789a66d3d2def2a0ab from Takashi's tree?
Quoted 7 lines · Mark Brown
Quoted 3 lines · Cezary Rojewski
hda_codec_device_init()expects three parameters, not two.Fixes f2183b08c81a ("ASoC: Intel: Drop hdac_ext usage for codec device creation")This commit doesn't appear to exist upstream. Did you mean
3fd63658caed9494cca1d4789a66d3d2def2a0abfrom Takashi's tree?
Indeed, thanks. Fixing as we speak.