diff options
Diffstat (limited to 'sound/oss')
| -rw-r--r-- | sound/oss/dmasound/dmasound_core.c | 4 | ||||
| -rw-r--r-- | sound/oss/sb_common.c | 4 | ||||
| -rw-r--r-- | sound/oss/sb_ess.c | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c index 793b7f478433..3f3c3f71db4b 100644 --- a/sound/oss/dmasound/dmasound_core.c +++ b/sound/oss/dmasound/dmasound_core.c | |||
| @@ -219,7 +219,9 @@ static int shared_resources_initialised; | |||
| 219 | * Mid level stuff | 219 | * Mid level stuff |
| 220 | */ | 220 | */ |
| 221 | 221 | ||
| 222 | struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED }; | 222 | struct sound_settings dmasound = { |
| 223 | .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock) | ||
| 224 | }; | ||
| 223 | 225 | ||
| 224 | static inline void sound_silence(void) | 226 | static inline void sound_silence(void) |
| 225 | { | 227 | { |
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c index 77d0e5efda76..ce4db49291f7 100644 --- a/sound/oss/sb_common.c +++ b/sound/oss/sb_common.c | |||
| @@ -157,7 +157,7 @@ static void sb_intr (sb_devc *devc) | |||
| 157 | break; | 157 | break; |
| 158 | 158 | ||
| 159 | default: | 159 | default: |
| 160 | /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */ | 160 | /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */ |
| 161 | ; | 161 | ; |
| 162 | } | 162 | } |
| 163 | } | 163 | } |
| @@ -177,7 +177,7 @@ static void sb_intr (sb_devc *devc) | |||
| 177 | break; | 177 | break; |
| 178 | 178 | ||
| 179 | default: | 179 | default: |
| 180 | /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */ | 180 | /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */ |
| 181 | ; | 181 | ; |
| 182 | } | 182 | } |
| 183 | } | 183 | } |
diff --git a/sound/oss/sb_ess.c b/sound/oss/sb_ess.c index 180e95c87e3e..51a3d381a59e 100644 --- a/sound/oss/sb_ess.c +++ b/sound/oss/sb_ess.c | |||
| @@ -782,7 +782,7 @@ printk(KERN_INFO "FKS: ess_handle_channel %s irq_mode=%d\n", channel, irq_mode); | |||
| 782 | break; | 782 | break; |
| 783 | 783 | ||
| 784 | default:; | 784 | default:; |
| 785 | /* printk(KERN_WARN "ESS: Unexpected interrupt\n"); */ | 785 | /* printk(KERN_WARNING "ESS: Unexpected interrupt\n"); */ |
| 786 | } | 786 | } |
| 787 | } | 787 | } |
| 788 | 788 | ||
