Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions sound/soc/sof/intel/hda-loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,11 @@ static int hda_dsp_boot_imr(struct snd_sof_dev *sdev)
else
ret = -EINVAL;

if (!ret)
if (!ret) {
dev_info(sdev->dev, "bard: %s calling hda_sdw_process_wakeen\n",
__func__);
hda_sdw_process_wakeen(sdev);
}

return ret;
}
Expand Down Expand Up @@ -518,8 +521,11 @@ int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev)
* is initialized successfully, which ensures power rails are
* enabled before accessing the SoundWire SHIM registers
*/
if (!sdev->first_boot)
if (!sdev->first_boot) {
dev_info(sdev->dev, "bard: %s calling hda_sdw_process_wakeen\n",
__func__);
hda_sdw_process_wakeen(sdev);
}

/*
* Set the boot_iteration to the last attempt, indicating that the
Expand Down
1 change: 1 addition & 0 deletions sound/soc/sof/intel/hda.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ static irqreturn_t hda_dsp_interrupt_thread(int irq, void *context)

if (hda_sdw_check_wakeen_irq(sdev)) {
trace_sof_intel_hda_irq(sdev, "wakeen");
dev_info(sdev->dev, "bard: SoundWire wakeen interrupt\n");
hda_sdw_process_wakeen(sdev);
}

Expand Down
1 change: 1 addition & 0 deletions sound/soc/sof/intel/ptl.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const struct sof_intel_dsp_desc ptl_chip_info = {
.read_sdw_lcount = hda_sdw_check_lcount_ext,
.check_sdw_irq = lnl_dsp_check_sdw_irq,
.check_sdw_wakeen_irq = lnl_sdw_check_wakeen_irq,
.sdw_process_wakeen = hda_sdw_process_wakeen_common,
.check_ipc_irq = mtl_dsp_check_ipc_irq,
.check_mic_privacy_irq = sof_ptl_check_mic_privacy_irq,
.process_mic_privacy = sof_ptl_process_mic_privacy,
Expand Down
Loading