Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
edf79984
Commit
edf79984
authored
Oct 17, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ens1370 uses wrong printk type
parent
70b30239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/pci/ens1370.c
sound/pci/ens1370.c
+3
-3
No files found.
sound/pci/ens1370.c
View file @
edf79984
...
...
@@ -593,7 +593,7 @@ static void snd_es1371_codec_write(ac97_t *ac97,
}
spin_unlock_irqrestore
(
&
ensoniq
->
reg_lock
,
flags
);
}
snd_printk
(
"codec write timeout at 0x%lx [0x%x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
snd_printk
(
"codec write timeout at 0x%lx [0x%
l
x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
}
static
unsigned
short
snd_es1371_codec_read
(
ac97_t
*
ac97
,
...
...
@@ -641,14 +641,14 @@ static unsigned short snd_es1371_codec_read(ac97_t *ac97,
}
spin_unlock_irqrestore
(
&
ensoniq
->
reg_lock
,
flags
);
if
(
++
fail
>
10
)
{
snd_printk
(
"codec read timeout (final) at 0x%lx, reg = 0x%x [0x%x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
reg
,
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
snd_printk
(
"codec read timeout (final) at 0x%lx, reg = 0x%x [0x%
l
x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
reg
,
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
return
0
;
}
goto
__again
;
}
spin_unlock_irqrestore
(
&
ensoniq
->
reg_lock
,
flags
);
}
snd_printk
(
"es1371: codec read timeout at 0x%lx [0x%x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
snd_printk
(
"es1371: codec read timeout at 0x%lx [0x%
l
x]
\n
"
,
ES_REG
(
ensoniq
,
1371
_CODEC
),
inl
(
ES_REG
(
ensoniq
,
1371
_CODEC
)));
return
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