sound/pci: coding style fixes: cs46xx
PATCH 5/24 sound/pci: coding style fixes: cs46xx
- <asm/io.h> -> <linux/io.h>
- remove trailing whitespaces
- convert comments
Only compile tested.
Signed-off-by Alexander Beregalov <[email protected]>
---
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
@@ -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
@@ -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
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.