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
fcd3bb4b
Commit
fcd3bb4b
authored
Mar 21, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/misc-2.6
parents
cfc615f2
a0c5b7fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
sound/oss/via82cxxx_audio.c
sound/oss/via82cxxx_audio.c
+7
-1
No files found.
sound/oss/via82cxxx_audio.c
View file @
fcd3bb4b
...
@@ -3411,12 +3411,18 @@ static int __devinit via_init_one (struct pci_dev *pdev, const struct pci_device
...
@@ -3411,12 +3411,18 @@ static int __devinit via_init_one (struct pci_dev *pdev, const struct pci_device
rc
=
pci_enable_device
(
pdev
);
rc
=
pci_enable_device
(
pdev
);
if
(
rc
)
if
(
rc
)
goto
err_out
;
goto
err_out
;
rc
=
pci_request_regions
(
pdev
,
"via82cxxx_audio"
);
rc
=
pci_request_regions
(
pdev
,
"via82cxxx_audio"
);
if
(
rc
)
if
(
rc
)
goto
err_out_disable
;
goto
err_out_disable
;
rc
=
pci_set_dma_mask
(
pdev
,
0xffffffffULL
);
if
(
rc
)
goto
err_out_res
;
rc
=
pci_set_consistent_dma_mask
(
pdev
,
0xffffffffULL
);
if
(
rc
)
goto
err_out_res
;
card
=
kmalloc
(
sizeof
(
*
card
),
GFP_KERNEL
);
card
=
kmalloc
(
sizeof
(
*
card
),
GFP_KERNEL
);
if
(
!
card
)
{
if
(
!
card
)
{
printk
(
KERN_ERR
PFX
"out of memory, aborting
\n
"
);
printk
(
KERN_ERR
PFX
"out of memory, aborting
\n
"
);
...
...
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