aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/avs/core.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2022-07-07 14:41:42 +0200
committerMark Brown <broonie@kernel.org>2022-07-08 18:53:17 +0100
commitc50cea054e04769471d2f17a57fafd7c5dfe8df8 (patch)
tree8f0bf3655a786fcbdc836fb0e59523d1d24a7269 /sound/soc/intel/avs/core.c
parentASoC: fsl_utils: Don't use plain integer as NULL pointer (diff)
downloadlinux-dev-c50cea054e04769471d2f17a57fafd7c5dfe8df8.tar.xz
linux-dev-c50cea054e04769471d2f17a57fafd7c5dfe8df8.zip
ASoC: Intel: avs: Register HDAudio ext-bus operations
With ASoC representation of HDAudio codec added, update bus initiazation to complete it. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20220707124153.1858249-2-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--sound/soc/intel/avs/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel/avs/core.c
index 3a0997c3af2b..664f87c33e9d 100644
--- a/sound/soc/intel/avs/core.c
+++ b/sound/soc/intel/avs/core.c
@@ -23,6 +23,7 @@
#include <sound/hdaudio_ext.h>
#include <sound/intel-dsp-config.h>
#include <sound/intel-nhlt.h>
+#include "../../codecs/hda.h"
#include "avs.h"
#include "cldma.h"
@@ -356,7 +357,7 @@ static int avs_bus_init(struct avs_dev *adev, struct pci_dev *pci, const struct
struct device *dev = &pci->dev;
int ret;
- ret = snd_hdac_ext_bus_init(&bus->core, dev, NULL, NULL);
+ ret = snd_hdac_ext_bus_init(&bus->core, dev, NULL, &soc_hda_ext_bus_ops);
if (ret < 0)
return ret;