Skip to contentSkip to conversation

sound/pci: coding style fixes: cs46xx

PATCH In review Alexander Beregalov 1 participant 1 message Sep 9, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 5/24 sound/pci: coding style fixes: cs46xx

- <asm/io.h> -> <linux/io.h>
- remove trailing whitespaces
- convert comments

Only compile tested.

---

 sound/pci/cs46xx/cs46xx.c           |    2 +-
 sound/pci/cs46xx/cs46xx_lib.c       |  316 ++++++++++----------
 sound/pci/cs46xx/dsp_spos.c         |  428 ++++++++++++++--------------
 sound/pci/cs46xx/dsp_spos.h         |    8 +-
 sound/pci/cs46xx/dsp_spos_scb_lib.c |  546 +++++++++++++++++-----------------
 sound/pci/cs46xx/imgs/cwcbinhack.h  |    2 +-
 6 files changed, 651 insertions(+), 651 deletions(-)
sound/pci/cs46xx/cs46xx.c +1 -1
index e876b32..d766d85 100644
@@ -21,7 +21,7 @@
 
 /*
   NOTES:
-  - sometimes the sound is metallic and sibilant, unloading and 
+  - sometimes the sound is metallic and sibilant, unloading and
     reloading the module may solve this.
 */
 
sound/pci/cs46xx/cs46xx_lib.c +158 -158

1,039 lines not on this page · raw message

sound/pci/cs46xx/dsp_spos.c +214 -214

1,137 lines not on this page · raw message

sound/pci/cs46xx/dsp_spos.h +4 -4
index f9e169d..a005f85 100644
@@ -189,9 +189,9 @@ enum wide_opcode {
 static inline u8 _wrap_all_bits (u8 val)
 {
 	u8 wrapped;
-	
+
 	/* wrap all 8 bits */
-	wrapped = 
+	wrapped =
 		((val & 0x1 ) << 7) |
 		((val & 0x2 ) << 5) |
 		((val & 0x4 ) << 3) |
@@ -205,13 +205,13 @@ static inline u8 _wrap_all_bits (u8 val)
 }
 
 static inline void cs46xx_dsp_spos_update_scb (struct snd_cs46xx * chip,
-					       struct dsp_scb_descriptor * scb) 
+					       struct dsp_scb_descriptor * scb)
 {
 	/* update nextSCB and subListPtr in SCB */
 	snd_cs46xx_poke(chip,
 			(scb->address + SCBsubListPtr) << 2,
 			(scb->sub_list_ptr->address << 0x10) |
-			(scb->next_scb_ptr->address));	
+			(scb->next_scb_ptr->address));
 }
 
 static inline void cs46xx_dsp_scb_set_volume (struct snd_cs46xx * chip,
sound/pci/cs46xx/dsp_spos_scb_lib.c +273 -273

790 lines not on this page · raw message

sound/pci/cs46xx/imgs/cwcbinhack.h +1 -1
index f4d9368..0587ab3 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.