Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
54530bde
Commit
54530bde
authored
Feb 05, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: usb - Add missing KERN_* prefix to printk
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
b9d710b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
sound/usb/usbaudio.c
sound/usb/usbaudio.c
+4
-2
sound/usb/usbmixer.c
sound/usb/usbmixer.c
+4
-1
sound/usb/usx2y/usb_stream.c
sound/usb/usx2y/usb_stream.c
+1
-1
No files found.
sound/usb/usbaudio.c
View file @
54530bde
...
...
@@ -1419,9 +1419,11 @@ static int set_format(struct snd_usb_substream *subs, struct audioformat *fmt)
subs
->
cur_audiofmt
=
fmt
;
#if 0
printk("setting done: format = %d, rate = %d..%d, channels = %d\n",
printk(KERN_DEBUG
"setting done: format = %d, rate = %d..%d, channels = %d\n",
fmt->format, fmt->rate_min, fmt->rate_max, fmt->channels);
printk(" datapipe = 0x%0x, syncpipe = 0x%0x\n",
printk(KERN_DEBUG
" datapipe = 0x%0x, syncpipe = 0x%0x\n",
subs->datapipe, subs->syncpipe);
#endif
...
...
sound/usb/usbmixer.c
View file @
54530bde
...
...
@@ -222,7 +222,10 @@ static int check_ignored_ctl(struct mixer_build *state, int unitid, int control)
for
(
p
=
state
->
map
;
p
->
id
;
p
++
)
{
if
(
p
->
id
==
unitid
&&
!
p
->
name
&&
(
!
control
||
!
p
->
control
||
control
==
p
->
control
))
{
// printk("ignored control %d:%d\n", unitid, control);
/*
printk(KERN_DEBUG "ignored control %d:%d\n",
unitid, control);
*/
return
1
;
}
}
...
...
sound/usb/usx2y/usb_stream.c
View file @
54530bde
...
...
@@ -557,7 +557,7 @@ static void stream_start(struct usb_stream_kernel *sk,
s
->
idle_insize
-=
max_diff
-
max_diff_0
;
s
->
idle_insize
+=
urb_size
-
s
->
period_size
;
if
(
s
->
idle_insize
<
0
)
{
snd_printk
(
"%i %i %i
\n
"
,
snd_printk
(
KERN_WARNING
"%i %i %i
\n
"
,
s
->
idle_insize
,
urb_size
,
s
->
period_size
);
return
;
}
else
if
(
s
->
idle_insize
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment