Skip to content
Merged
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
4 changes: 4 additions & 0 deletions sound/soc/sof/intel/hda-codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static int hda_codec_probe(struct snd_sof_dev *sdev, int address)
int hda_codec_probe_bus(struct snd_sof_dev *sdev)
{
struct hdac_bus *bus = sof_to_bus(sdev);
struct hda_bus *hbus = sof_to_hbus(sdev);
int i, ret;

/* probe codecs in avail slots */
Expand All @@ -111,6 +112,9 @@ int hda_codec_probe_bus(struct snd_sof_dev *sdev)
}
}

/* set autosuspend delay for hda bus device */
snd_hda_set_power_save(hbus, SND_SOF_SUSPEND_DELAY_MS);

return 0;
}
EXPORT_SYMBOL(hda_codec_probe_bus);
Expand Down