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
396fe284
Commit
396fe284
authored
Feb 05, 2004
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
VIA82xx driver Removed duplicated code
parent
5af79a33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
sound/pci/via82xx.c
sound/pci/via82xx.c
+0
-8
No files found.
sound/pci/via82xx.c
View file @
396fe284
...
...
@@ -1641,14 +1641,6 @@ static int snd_via686_init_misc(via82xx_t *chip, int dev)
}
else
{
mpu_port
[
dev
]
=
pci_resource_start
(
chip
->
pci
,
2
);
}
if
(
mpu_port
[
dev
]
>=
0x200
&&
(
chip
->
mpu_res
=
request_region
(
pci_resource_start
(
chip
->
pci
,
2
),
2
,
"VIA82xx MPU401"
))
!=
NULL
)
{
legacy
|=
VIA_FUNC_ENABLE_MIDI
;
}
else
{
mpu_port
[
dev
]
=
0
;
legacy
&=
~
VIA_FUNC_ENABLE_MIDI
;
}
}
else
{
switch
(
mpu_port
[
dev
])
{
/* force MIDI */
case
0x300
:
...
...
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