diff options
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 46d4253642d7..08104e2a3e99 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -2195,8 +2195,10 @@ static void hda_power_work(struct work_struct *work) | |||
2195 | struct hda_codec *codec = | 2195 | struct hda_codec *codec = |
2196 | container_of(work, struct hda_codec, power_work.work); | 2196 | container_of(work, struct hda_codec, power_work.work); |
2197 | 2197 | ||
2198 | if (!codec->power_on || codec->power_count) | 2198 | if (!codec->power_on || codec->power_count) { |
2199 | codec->power_transition = 0; | ||
2199 | return; | 2200 | return; |
2201 | } | ||
2200 | 2202 | ||
2201 | hda_call_codec_suspend(codec); | 2203 | hda_call_codec_suspend(codec); |
2202 | if (codec->bus->ops.pm_notify) | 2204 | if (codec->bus->ops.pm_notify) |