Message ID | 20190725132347.32049-2-hui.wang@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | alsa/sof: the headphone doesn't work when sound-setting opens | expand |
diff --git a/sound/soc/sof/intel/hda-codec.c b/sound/soc/sof/intel/hda-codec.c index edac308fcf9e..c711792534da 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -138,7 +138,6 @@ 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 */ @@ -155,9 +154,6 @@ 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);