* [PATCH] hda_intel.c - Consolidate bitfields
@ 2009-04-15 18:39 Joe Perches
2009-04-16 6:26 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2009-04-15 18:39 UTC (permalink / raw)
To: LKML
Cc: Takashi Iwai, Jaroslav Kysela, Peer Chen, Andrew Morton,
Rafael J. Wysocki
Commit fa00e046b41663cbda9b1affc0594669e5f14219
added a new bitfield not adjacent to other
bitfields in the same struct. Moved the new one.
Signed-off-by: Joe Perches <joe@perches.com>
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index bc882f8..21e99cf 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] hda_intel.c - Consolidate bitfields
2009-04-15 18:39 [PATCH] hda_intel.c - Consolidate bitfields Joe Perches
@ 2009-04-16 6:26 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2009-04-16 6:26 UTC (permalink / raw)
To: Joe Perches
Cc: LKML, Jaroslav Kysela, Peer Chen, Andrew Morton, Rafael J. Wysocki
At Wed, 15 Apr 2009 11:39:01 -0700,
Joe Perches wrote:
>
> Commit fa00e046b41663cbda9b1affc0594669e5f14219
> added a new bitfield not adjacent to other
> bitfields in the same struct. Moved the new one.
>
> Signed-off-by: Joe Perches <joe@perches.com>
Applied to sound git tree now. Thanks.
Takashi
>
> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> index bc882f8..21e99cf 100644
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -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
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] hda_intel.c - Consolidate bitfields
@ 2009-04-15 19:20 Joe Perches
0 siblings, 0 replies; 3+ messages in thread
From: Joe Perches @ 2009-04-15 19:20 UTC (permalink / raw)
To: alsa-devel
Previously sent to linux-kernel.
Commit fa00e046b41663cbda9b1affc0594669e5f14219
added a new bitfield not adjacent to other
bitfields in the same struct. Moved the new one.
Signed-off-by: Joe Perches <joe@perches.com>
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index bc882f8..21e99cf 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-16 6:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-15 18:39 [PATCH] hda_intel.c - Consolidate bitfields Joe Perches
2009-04-16 6:26 ` Takashi Iwai
2009-04-15 19:20 Joe Perches
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.