projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9d635
)
ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled
author
Cezary Rojewski
<cezary.rojewski@intel.com>
Fri, 19 Aug 2022 12:47:40 +0000
(14:47 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 19 Aug 2022 12:55:40 +0000
(14:55 +0200)
hda_codec_device_init() expects three parameters, not two.
Fixes:
3fd63658caed
("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
patch
|
blob
|
history
diff --git
a/sound/soc/sof/intel/hda-codec.c
b/sound/soc/sof/intel/hda-codec.c
index
7333664
..
1e9afc4
100644
(file)
--- a/
sound/soc/sof/intel/hda-codec.c
+++ b/
sound/soc/sof/intel/hda-codec.c
@@
-213,7
+213,7
@@
out:
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