File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -917,6 +917,7 @@ extern struct snd_sof_dsp_ops sof_mtl_ops;
917917int sof_mtl_ops_init (struct snd_sof_dev * sdev );
918918extern struct snd_sof_dsp_ops sof_lnl_ops ;
919919int sof_lnl_ops_init (struct snd_sof_dev * sdev );
920+ int sof_ptl_ops_init (struct snd_sof_dev * sdev );
920921
921922extern const struct sof_intel_dsp_desc skl_chip_info ;
922923extern const struct sof_intel_dsp_desc apl_chip_info ;
Original file line number Diff line number Diff line change 77 */
88
99#include <linux/debugfs.h>
10+ #include <sound/hda_i915.h>
1011#include <linux/firmware.h>
1112#include <sound/hda_register.h>
1213#include <sound/sof/ipc4/header.h>
@@ -184,6 +185,24 @@ int sof_lnl_ops_init(struct snd_sof_dev *sdev)
184185};
185186EXPORT_SYMBOL_NS (sof_lnl_ops_init , SND_SOC_SOF_INTEL_LNL );
186187
188+ static int ptl_hda_dsp_probe_early (struct snd_sof_dev * sdev )
189+ {
190+ snd_hdac_i915_bind (sof_to_bus (sdev ), 0 );
191+ return hda_dsp_probe_early (sdev );
192+ }
193+
194+ int sof_ptl_ops_init (struct snd_sof_dev * sdev )
195+ {
196+ int ret ;
197+
198+ ret = sof_lnl_ops_init (sdev );
199+ if (!ret )
200+ sof_lnl_ops .probe_early = ptl_hda_dsp_probe_early ;
201+
202+ return ret ;
203+ };
204+ EXPORT_SYMBOL_NS (sof_ptl_ops_init , SND_SOC_SOF_INTEL_LNL );
205+
187206/* Check if an SDW IRQ occurred */
188207static bool lnl_dsp_check_sdw_irq (struct snd_sof_dev * sdev )
189208{
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static const struct sof_dev_desc ptl_desc = {
4444 },
4545 .nocodec_tplg_filename = "sof-ptl-nocodec.tplg" ,
4646 .ops = & sof_lnl_ops ,
47- .ops_init = sof_lnl_ops_init ,
47+ .ops_init = sof_ptl_ops_init ,
4848};
4949
5050/* PCI IDs */
You can’t perform that action at this time.
0 commit comments