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
92bac0c5
Commit
92bac0c5
authored
Apr 11, 2003
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA update
- ISA PnP drivers - fixed failure path (missing pnp_unregister_card_driver() call)
parent
d55d7cdf
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
41 additions
and
6 deletions
+41
-6
include/sound/version.h
include/sound/version.h
+1
-1
sound/isa/ad1816a/ad1816a.c
sound/isa/ad1816a/ad1816a.c
+3
-1
sound/isa/als100.c
sound/isa/als100.c
+3
-1
sound/isa/azt2320.c
sound/isa/azt2320.c
+3
-1
sound/isa/cmi8330.c
sound/isa/cmi8330.c
+3
-0
sound/isa/cs423x/cs4236.c
sound/isa/cs423x/cs4236.c
+3
-0
sound/isa/es18xx.c
sound/isa/es18xx.c
+3
-0
sound/isa/gus/interwave.c
sound/isa/gus/interwave.c
+3
-0
sound/isa/opl3sa2.c
sound/isa/opl3sa2.c
+3
-0
sound/isa/opti9xx/opti92x-ad1848.c
sound/isa/opti9xx/opti92x-ad1848.c
+4
-1
sound/isa/sb/es968.c
sound/isa/sb/es968.c
+4
-1
sound/isa/sb/sb16.c
sound/isa/sb/sb16.c
+3
-0
sound/isa/wavefront/wavefront.c
sound/isa/wavefront/wavefront.c
+5
-0
No files found.
include/sound/version.h
View file @
92bac0c5
/* include/version.h. Generated by configure. */
#define CONFIG_SND_VERSION "0.9.2"
#define CONFIG_SND_DATE " (
Thu Mar 20 13:31:57
2003 UTC)"
#define CONFIG_SND_DATE " (
Fri Apr 11 07:44:21
2003 UTC)"
sound/isa/ad1816a/ad1816a.c
View file @
92bac0c5
...
...
@@ -307,8 +307,10 @@ static int __init alsa_card_ad1816a_init(void)
cards
+=
pnp_register_card_driver
(
&
ad1816a_pnpc_driver
);
#ifdef MODULE
if
(
!
cards
)
if
(
!
cards
)
{
pnp_unregister_card_driver
(
&
ad1816a_pnpc_driver
);
printk
(
KERN_ERR
"no AD1816A based soundcards found.
\n
"
);
}
#endif
/* MODULE */
return
cards
?
0
:
-
ENODEV
;
}
...
...
sound/isa/als100.c
View file @
92bac0c5
...
...
@@ -328,8 +328,10 @@ static int __init alsa_card_als100_init(void)
cards
+=
pnp_register_card_driver
(
&
als100_pnpc_driver
);
#ifdef MODULE
if
(
!
cards
)
if
(
!
cards
)
{
pnp_unregister_card_driver
(
&
als100_pnpc_driver
);
snd_printk
(
KERN_ERR
"no ALS100 based soundcards found
\n
"
);
}
#endif
return
cards
?
0
:
-
ENODEV
;
}
...
...
sound/isa/azt2320.c
View file @
92bac0c5
...
...
@@ -365,8 +365,10 @@ static int __init alsa_card_azt2320_init(void)
cards
+=
pnp_register_card_driver
(
&
azt2320_pnpc_driver
);
#ifdef MODULE
if
(
!
cards
)
if
(
!
cards
)
{
pnp_unregister_card_driver
(
&
azt2320_pnpc_driver
);
snd_printk
(
KERN_ERR
"no AZT2320 based soundcards found
\n
"
);
}
#endif
return
cards
?
0
:
-
ENODEV
;
}
...
...
sound/isa/cmi8330.c
View file @
92bac0c5
...
...
@@ -613,6 +613,9 @@ static int __init alsa_card_cmi8330_init(void)
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
cmi8330_pnpc_driver
);
#endif
#ifdef MODULE
snd_printk
(
KERN_ERR
"CMI8330 not found or device busy
\n
"
);
#endif
...
...
sound/isa/cs423x/cs4236.c
View file @
92bac0c5
...
...
@@ -590,6 +590,9 @@ static int __init alsa_card_cs423x_init(void)
cards
+=
pnp_register_card_driver
(
&
cs423x_pnpc_driver
);
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
cs423x_pnpc_driver
);
#endif
#ifdef MODULE
printk
(
KERN_ERR
IDENT
" soundcard not found or device busy
\n
"
);
#endif
...
...
sound/isa/es18xx.c
View file @
92bac0c5
...
...
@@ -2243,6 +2243,9 @@ static int __init alsa_card_es18xx_init(void)
cards
+=
pnp_register_card_driver
(
&
es18xx_pnpc_driver
);
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
es18xx_pnpc_driver
);
#endif
#ifdef MODULE
snd_printk
(
KERN_ERR
"ESS AudioDrive ES18xx soundcard not found or device busy
\n
"
);
#endif
...
...
sound/isa/gus/interwave.c
View file @
92bac0c5
...
...
@@ -945,6 +945,9 @@ static int __init alsa_card_interwave_init(void)
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
interwave_pnpc_driver
);
#endif
#ifdef MODULE
printk
(
KERN_ERR
"InterWave soundcard not found or device busy
\n
"
);
#endif
...
...
sound/isa/opl3sa2.c
View file @
92bac0c5
...
...
@@ -893,6 +893,9 @@ static int __init alsa_card_opl3sa2_init(void)
if
(
!
cards
)
{
#ifdef MODULE
snd_printk
(
KERN_ERR
"Yamaha OPL3-SA soundcard not found or device busy
\n
"
);
#endif
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
opl3sa2_pnpc_driver
);
#endif
return
-
ENODEV
;
}
...
...
sound/isa/opti9xx/opti92x-ad1848.c
View file @
92bac0c5
...
...
@@ -1945,7 +1945,7 @@ static int __devinit snd_card_opti9xx_probe(struct pnp_card_link *pcard,
chip
=
(
opti9xx_t
*
)
card
->
private_data
;
#ifdef CONFIG_PNP
if
(
isapnp
&&
(
hw
=
snd_card_opti9xx_pnp
(
chip
,
pcard
,
pid
))
>
0
)
{
if
(
isapnp
&&
pcard
&&
(
hw
=
snd_card_opti9xx_pnp
(
chip
,
pcard
,
pid
))
>
0
)
{
switch
(
hw
)
{
case
0x0924
:
hw
=
OPTi9XX_HW_82C924
;
...
...
@@ -2202,6 +2202,9 @@ static int __init alsa_card_opti9xx_init(void)
cards
=
pnp_register_card_driver
(
&
opti9xx_pnpc_driver
);
if
(
cards
==
0
&&
(
error
=
snd_card_opti9xx_probe
(
NULL
,
NULL
))
<
0
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
opti9xx_pnpc_driver
);
#endif
#ifdef MODULE
#ifdef OPTi93X
printk
(
KERN_ERR
"no OPTi 82C93x soundcard found
\n
"
);
...
...
sound/isa/sb/es968.c
View file @
92bac0c5
...
...
@@ -224,10 +224,13 @@ static struct pnp_card_driver es968_pnpc_driver = {
static
int
__init
alsa_card_es968_init
(
void
)
{
int
res
=
pnp_register_card_driver
(
&
es968_pnpc_driver
);
#ifdef MODULE
if
(
res
==
0
)
{
pnp_unregister_card_driver
(
&
es968_pnpc_driver
);
#ifdef MODULE
snd_printk
(
KERN_ERR
"no ES968 based soundcards found
\n
"
);
#endif
}
return
res
<
0
?
res
:
0
;
}
...
...
sound/isa/sb/sb16.c
View file @
92bac0c5
...
...
@@ -625,6 +625,9 @@ static int __init alsa_card_sb16_init(void)
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
sb16_pnpc_driver
);
#endif
#ifdef MODULE
snd_printk
(
KERN_ERR
"Sound Blaster 16 soundcard not found or device busy
\n
"
);
#ifdef SNDRV_SBAWE_EMU8000
...
...
sound/isa/wavefront/wavefront.c
View file @
92bac0c5
...
...
@@ -709,6 +709,9 @@ static int __init alsa_card_wavefront_init(void)
cards
+=
pnp_register_card_driver
(
&
wavefront_pnpc_driver
);
#endif
if
(
!
cards
)
{
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
wavefront_pnpc_driver
);
#endif
#ifdef MODULE
printk
(
KERN_ERR
"No WaveFront cards found or devices busy
\n
"
);
#endif
...
...
@@ -721,7 +724,9 @@ static void __exit alsa_card_wavefront_exit(void)
{
int
idx
;
#ifdef CONFIG_PNP
pnp_unregister_card_driver
(
&
wavefront_pnpc_driver
);
#endif
for
(
idx
=
0
;
idx
<
SNDRV_CARDS
;
idx
++
)
snd_card_free
(
snd_wavefront_legacy
[
idx
]);
}
...
...
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