projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06f619c
)
[ALSA] no templated index for mc97 controls
author
Sasha Khapyorsky
<
[email protected]
>
Tue, 13 Sep 2005 09:21:30 +0000
(11:21 +0200)
committer
Jaroslav Kysela
<
[email protected]
>
Fri, 7 Oct 2005 12:45:25 +0000
(14:45 +0200)
AC97 Codec
No index is templated for mdoem controls.
Signed-off-by: Sasha Khapyorsky <
[email protected]
>
Signed-off-by: Takashi Iwai <
[email protected]
>
sound/pci/ac97/ac97_codec.c
patch
|
blob
|
history
diff --git
a/sound/pci/ac97/ac97_codec.c
b/sound/pci/ac97/ac97_codec.c
index e64cb07a39c2e3cdf4dca8a17d0e51a6d980f6e6..f221eba5c32f8baaca11219a54b42a3dca08f199 100644
(file)
--- a/
sound/pci/ac97/ac97_codec.c
+++ b/
sound/pci/ac97/ac97_codec.c
@@
-1557,7
+1557,7
@@
static int snd_ac97_modem_build(snd_card_t * card, ac97_t * ac97)
/* build modem switches */
for (idx = 0; idx < ARRAY_SIZE(snd_ac97_controls_modem_switches); idx++)
- if ((err = snd_ctl_add(card, snd_
ac97_cnew
(&snd_ac97_controls_modem_switches[idx], ac97))) < 0)
+ if ((err = snd_ctl_add(card, snd_
ctl_new1
(&snd_ac97_controls_modem_switches[idx], ac97))) < 0)
return err;
/* build chip specific controls */