aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-16 10:35:33 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:59:07 -0400
commita221e287ab39a0d169809cb79536abd75392c3c1 (patch)
treebb3fc373c9057083525e65218c8020d44dc8a444 /sound/pci/hda/hda_codec.h
parent676a9b53dcb0843a98f7339a492e42baf4b9a734 (diff)
[ALSA] hda-intel - Avoid unnecessary work scheduling
Avoid unnecessary work scheduling for power-off. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 1ffffaa3a30..ca157e5100c 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -586,7 +586,8 @@ struct hda_codec {
586 struct snd_hwdep *hwdep; /* assigned hwdep device */ 586 struct snd_hwdep *hwdep; /* assigned hwdep device */
587 587
588#ifdef CONFIG_SND_HDA_POWER_SAVE 588#ifdef CONFIG_SND_HDA_POWER_SAVE
589 int power_on; /* current (global) power-state */ 589 unsigned int power_on :1; /* current (global) power-state */
590 unsigned int power_transition :1; /* power-state in transition */
590 int power_count; /* current (global) power refcount */ 591 int power_count; /* current (global) power refcount */
591 struct delayed_work power_work; /* delayed task for powerdown */ 592 struct delayed_work power_work; /* delayed task for powerdown */
592#endif 593#endif