Skip to content

Commit 4b92734

Browse files
committed
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 <[email protected]>
1 parent 83012a7 commit 4b92734

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sound/pci/hda/hda_codec.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -867,16 +867,15 @@ struct hda_codec {
867867
unsigned int epss:1; /* supporting EPSS? */
868868
#ifdef CONFIG_PM
869869
unsigned int power_on :1; /* current (global) power-state */
870+
unsigned int d3_stop_clk:1; /* support D3 operation without BCLK */
871+
unsigned int d3_stop_clk_ok:1; /* BCLK can stop */
870872
int power_transition; /* power-state in transition */
871873
int power_count; /* current (global) power refcount */
872874
struct delayed_work power_work; /* delayed task for powerdown */
873875
unsigned long power_on_acct;
874876
unsigned long power_off_acct;
875877
unsigned long power_jiffies;
876878
spinlock_t power_lock;
877-
878-
unsigned int d3_stop_clk:1; /* support D3 operation without BCLK */
879-
unsigned int d3_stop_clk_ok:1; /* BCLK can stop */
880879
#endif
881880

882881
/* codec-specific additional proc output */

0 commit comments

Comments
 (0)