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
Kirill Smelkov
linux
Commits
74c4fa70
Commit
74c4fa70
authored
Mar 20, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sound driver timeout types. Again.
parent
aa43a933
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sound/pci/ac97/ac97_codec.c
sound/pci/ac97/ac97_codec.c
+3
-3
sound/pci/intel8x0.c
sound/pci/intel8x0.c
+1
-1
No files found.
sound/pci/ac97/ac97_codec.c
View file @
74c4fa70
...
...
@@ -1870,7 +1870,7 @@ static void snd_ac97_get_name(ac97_t *ac97, unsigned int id, char *name, int mod
*/
static
int
ac97_reset_wait
(
ac97_t
*
ac97
,
int
timeout
,
int
with_modem
)
{
signed
long
end_time
;
un
signed
long
end_time
;
end_time
=
jiffies
+
timeout
;
do
{
unsigned
short
ext_mid
;
...
...
@@ -1930,7 +1930,7 @@ int snd_ac97_mixer(snd_card_t * card, ac97_t * _ac97, ac97_t ** rac97)
int
err
;
ac97_t
*
ac97
;
char
name
[
64
];
signed
long
end_time
;
un
signed
long
end_time
;
static
snd_device_ops_t
ops
=
{
.
dev_free
=
snd_ac97_dev_free
,
};
...
...
@@ -2083,7 +2083,7 @@ int snd_ac97_mixer(snd_card_t * card, ac97_t * _ac97, ac97_t ** rac97)
*/
static
int
ac97_modem_reset_wait
(
ac97_t
*
ac97
,
int
timeout
)
{
signed
long
end_time
;
un
signed
long
end_time
;
end_time
=
jiffies
+
timeout
;
do
{
unsigned
short
ext_mid
;
...
...
sound/pci/intel8x0.c
View file @
74c4fa70
...
...
@@ -1778,7 +1778,7 @@ static void do_delay(intel8x0_t *chip)
static
int
snd_intel8x0_ich_chip_init
(
intel8x0_t
*
chip
)
{
signed
long
end_time
;
un
signed
long
end_time
;
unsigned
int
cnt
,
status
,
nstatus
;
/* put logic to right state */
...
...
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