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
24a2d11a
Commit
24a2d11a
authored
Sep 20, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/jgarzik/misc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
c858213a
83074677
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
sound/oss/i810_audio.c
sound/oss/i810_audio.c
+9
-2
No files found.
sound/oss/i810_audio.c
View file @
24a2d11a
...
...
@@ -2728,7 +2728,7 @@ static int i810_ac97_probe_and_powerup(struct i810_card *card,struct ac97_codec
i810_ac97_get
(
codec
,
AC97_POWER_CONTROL
)
&
~
0x7f00
);
/* wait for analog ready */
for
(
i
=
10
;
i
&&
((
i810_ac97_get
(
codec
,
AC97_POWER_CONTROL
)
&
0xf
)
!=
0xf
);
i
--
)
for
(
i
=
10
0
;
i
&&
((
i810_ac97_get
(
codec
,
AC97_POWER_CONTROL
)
&
0xf
)
!=
0xf
);
i
--
)
{
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
(
HZ
/
20
);
...
...
@@ -3091,11 +3091,18 @@ static int __init i810_probe(struct pci_dev *pci_dev, const struct pci_device_id
return
-
EIO
;
if
(
pci_set_dma_mask
(
pci_dev
,
I810_DMA_MASK
))
{
printk
(
KERN_ERR
"i
ntel810
: architecture does not support"
printk
(
KERN_ERR
"i
810_audio
: architecture does not support"
" 32bit PCI busmaster DMA
\n
"
);
return
-
ENODEV
;
}
if
(
pci_resource_start
(
pci_dev
,
1
)
==
0
)
{
/* MMIO only ICH5 .. here be dragons .. */
printk
(
KERN_ERR
"i810_audio: Pure MMIO interfaces not yet supported.
\n
"
);
return
-
ENODEV
;
}
if
((
card
=
kmalloc
(
sizeof
(
struct
i810_card
),
GFP_KERNEL
))
==
NULL
)
{
printk
(
KERN_ERR
"i810_audio: out of memory
\n
"
);
return
-
ENOMEM
;
...
...
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