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
fc2fcdab
Commit
fc2fcdab
authored
Feb 12, 2003
by
Dave Jones
Committed by
Linus Torvalds
Feb 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ES1371 OSS fix
from 2.4 only register gameport if the port is active
parent
72ecb383
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sound/oss/es1371.c
sound/oss/es1371.c
+2
-1
No files found.
sound/oss/es1371.c
View file @
fc2fcdab
...
@@ -2963,6 +2963,7 @@ static int __devinit es1371_probe(struct pci_dev *pcidev, const struct pci_devic
...
@@ -2963,6 +2963,7 @@ static int __devinit es1371_probe(struct pci_dev *pcidev, const struct pci_devic
/* turn on S/PDIF output driver if requested */
/* turn on S/PDIF output driver if requested */
outl
(
cssr
,
s
->
io
+
ES1371_REG_STATUS
);
outl
(
cssr
,
s
->
io
+
ES1371_REG_STATUS
);
/* register gameport */
/* register gameport */
if
(
s
->
gameport
.
io
)
gameport_register_port
(
&
s
->
gameport
);
gameport_register_port
(
&
s
->
gameport
);
/* store it in the driver field */
/* store it in the driver field */
pci_set_drvdata
(
pcidev
,
s
);
pci_set_drvdata
(
pcidev
,
s
);
...
...
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