diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-28 23:39:25 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-30 14:50:40 (GMT) |
commit | 4b927345a38c8e9eb2482c091f96ac06884aff8e (patch) | |
tree | bdf5f58e087eacd4a421c4adb6a379942ef81e77 /sound | |
parent | 83012a7ccbb90dee33c97a004b3e374f988612af (diff) | |
download | linux-fsl-qoriq-4b927345a38c8e9eb2482c091f96ac06884aff8e.tar.xz |
ALSA: hda - Optimize bitfield usage in struct hda_codec
Move up a few bitfields to be packed into a single int.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 7e1709c..9ac4773 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -867,6 +867,8 @@ struct hda_codec { unsigned int epss:1; /* supporting EPSS? */ #ifdef CONFIG_PM unsigned int power_on :1; /* current (global) power-state */ + unsigned int d3_stop_clk:1; /* support D3 operation without BCLK */ + unsigned int d3_stop_clk_ok:1; /* BCLK can stop */ int power_transition; /* power-state in transition */ int power_count; /* current (global) power refcount */ struct delayed_work power_work; /* delayed task for powerdown */ @@ -874,9 +876,6 @@ struct hda_codec { unsigned long power_off_acct; unsigned long power_jiffies; spinlock_t power_lock; - - unsigned int d3_stop_clk:1; /* support D3 operation without BCLK */ - unsigned int d3_stop_clk_ok:1; /* BCLK can stop */ #endif /* codec-specific additional proc output */ |