diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-05 09:55:18 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-05 09:55:18 -0500 |
commit | 54530bded6ecf22d683423b66fc3cd6dddb249aa (patch) | |
tree | f8de7cddc8f5bed64e4bcdfebe24442acd62221c | |
parent | b9d710b3c530ed91e8683933fe94c7605d175bf5 (diff) |
ALSA: usb - Add missing KERN_* prefix to printk
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/usb/usbaudio.c | 6 | ||||
-rw-r--r-- | sound/usb/usbmixer.c | 5 | ||||
-rw-r--r-- | sound/usb/usx2y/usb_stream.c | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 4636926d12d7..c69cc6e4f549 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c | |||
@@ -1419,9 +1419,11 @@ static int set_format(struct snd_usb_substream *subs, struct audioformat *fmt) | |||
1419 | subs->cur_audiofmt = fmt; | 1419 | subs->cur_audiofmt = fmt; |
1420 | 1420 | ||
1421 | #if 0 | 1421 | #if 0 |
1422 | printk("setting done: format = %d, rate = %d..%d, channels = %d\n", | 1422 | printk(KERN_DEBUG |
1423 | "setting done: format = %d, rate = %d..%d, channels = %d\n", | ||
1423 | fmt->format, fmt->rate_min, fmt->rate_max, fmt->channels); | 1424 | fmt->format, fmt->rate_min, fmt->rate_max, fmt->channels); |
1424 | printk(" datapipe = 0x%0x, syncpipe = 0x%0x\n", | 1425 | printk(KERN_DEBUG |
1426 | " datapipe = 0x%0x, syncpipe = 0x%0x\n", | ||
1425 | subs->datapipe, subs->syncpipe); | 1427 | subs->datapipe, subs->syncpipe); |
1426 | #endif | 1428 | #endif |
1427 | 1429 | ||
diff --git a/sound/usb/usbmixer.c b/sound/usb/usbmixer.c index 330f2fbff2d1..6615cd3b4079 100644 --- a/sound/usb/usbmixer.c +++ b/sound/usb/usbmixer.c | |||
@@ -222,7 +222,10 @@ static int check_ignored_ctl(struct mixer_build *state, int unitid, int control) | |||
222 | for (p = state->map; p->id; p++) { | 222 | for (p = state->map; p->id; p++) { |
223 | if (p->id == unitid && ! p->name && | 223 | if (p->id == unitid && ! p->name && |
224 | (! control || ! p->control || control == p->control)) { | 224 | (! control || ! p->control || control == p->control)) { |
225 | // printk("ignored control %d:%d\n", unitid, control); | 225 | /* |
226 | printk(KERN_DEBUG "ignored control %d:%d\n", | ||
227 | unitid, control); | ||
228 | */ | ||
226 | return 1; | 229 | return 1; |
227 | } | 230 | } |
228 | } | 231 | } |
diff --git a/sound/usb/usx2y/usb_stream.c b/sound/usb/usx2y/usb_stream.c index 70b96355ca4c..24393dafcb6e 100644 --- a/sound/usb/usx2y/usb_stream.c +++ b/sound/usb/usx2y/usb_stream.c | |||
@@ -557,7 +557,7 @@ static void stream_start(struct usb_stream_kernel *sk, | |||
557 | s->idle_insize -= max_diff - max_diff_0; | 557 | s->idle_insize -= max_diff - max_diff_0; |
558 | s->idle_insize += urb_size - s->period_size; | 558 | s->idle_insize += urb_size - s->period_size; |
559 | if (s->idle_insize < 0) { | 559 | if (s->idle_insize < 0) { |
560 | snd_printk("%i %i %i\n", | 560 | snd_printk(KERN_WARNING "%i %i %i\n", |
561 | s->idle_insize, urb_size, s->period_size); | 561 | s->idle_insize, urb_size, s->period_size); |
562 | return; | 562 | return; |
563 | } else if (s->idle_insize == 0) { | 563 | } else if (s->idle_insize == 0) { |