Skip to contentSkip to conversation

hda_intel.c - Consolidate bitfields

PATCH New Joe Perches 1 participant 1 message Apr 15, 2009 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hda_intel.c - Consolidate bitfields

Previously sent to linux-kernel.

Commit fa00e046b41663cbda9b1affc0594669e5f14219
added a new bitfield not adjacent to other
bitfields in the same struct. Moved the new one.

sound/pci/hda/hda_intel.c +1 -1
index bc882f8..21e99cf 100644
@@ -312,7 +312,6 @@ struct azx_dev {
 	unsigned int period_bytes; /* size of the period in bytes */
 	unsigned int frags;	/* number for period in the play buffer */
 	unsigned int fifo_size;	/* FIFO size */
-	unsigned int start_flag: 1;	/* stream full start flag */
 	unsigned long start_jiffies;	/* start + minimum jiffies */
 	unsigned long min_jiffies;	/* minimum jiffies before position is valid */
 
@@ -333,6 +332,7 @@ struct azx_dev {
 	unsigned int opened :1;
 	unsigned int running :1;
 	unsigned int irq_pending :1;
+	unsigned int start_flag: 1;	/* stream full start flag */
 	/*
 	 * For VIA:
 	 *  A flag to ensure DMA position is 0