diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index e134e7212cd9..8bd34320ef91 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2265,6 +2265,9 @@ int snd_hda_codec_reset(struct hda_codec *codec) | |||
2265 | 2265 | ||
2266 | #ifdef CONFIG_SND_HDA_POWER_SAVE | 2266 | #ifdef CONFIG_SND_HDA_POWER_SAVE |
2267 | cancel_delayed_work(&codec->power_work); | 2267 | cancel_delayed_work(&codec->power_work); |
2268 | codec->power_on = 0; | ||
2269 | codec->power_transition = 0; | ||
2270 | codec->power_jiffies = jiffies; | ||
2268 | flush_workqueue(codec->bus->workq); | 2271 | flush_workqueue(codec->bus->workq); |
2269 | #endif | 2272 | #endif |
2270 | snd_hda_ctls_clear(codec); | 2273 | snd_hda_ctls_clear(codec); |