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
e4bb3f2b
Commit
e4bb3f2b
authored
Mar 15, 2004
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Generic drivers Clean the 'AUTO' checking
parent
8f2ac0c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sound/drivers/serial-u16550.c
sound/drivers/serial-u16550.c
+2
-3
No files found.
sound/drivers/serial-u16550.c
View file @
e4bb3f2b
...
...
@@ -342,7 +342,7 @@ static int __init snd_uart16550_detect(snd_uart16550_t *uart)
unsigned
char
c
;
/* Do some vague tests for the presence of the uart */
if
(
io_base
==
0
)
{
if
(
io_base
==
0
||
io_base
==
SNDRV_AUTO_PORT
)
{
return
-
ENODEV
;
/* Not configured */
}
...
...
@@ -804,10 +804,9 @@ static int __init snd_uart16550_create(snd_card_t * card,
return
err
;
}
if
(
irq
>=
0
)
{
if
(
irq
>=
0
&&
irq
!=
SNDRV_AUTO_IRQ
)
{
if
(
request_irq
(
irq
,
snd_uart16550_interrupt
,
SA_INTERRUPT
,
"Serial MIDI"
,
(
void
*
)
uart
))
{
uart
->
irq
=
-
1
;
snd_printk
(
"irq %d busy. Using Polling.
\n
"
,
irq
);
}
else
{
uart
->
irq
=
irq
;
...
...
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