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:
0dd119f
)
[ALSA] hda-intel - Fix modem PCM creation
author
Takashi Iwai
<tiwai@suse.de>
Wed, 7 Sep 2005 13:26:56 +0000
(15:26 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Mon, 12 Sep 2005 08:47:18 +0000
(10:47 +0200)
HDA Intel driver
Fix a bug of modem PCM creation (due to a typo).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_intel.c
b/sound/pci/hda/hda_intel.c
index 2098de7c567913bdd6fabee78eb23945fe66c137..a8eaeb463b0d7f26b0b595cb6228181985fcb7e3 100644
(file)
--- a/
sound/pci/hda/hda_intel.c
+++ b/
sound/pci/hda/hda_intel.c
@@
-1252,7
+1252,7
@@
static int __devinit azx_pcm_create(azx_t *chip)
for (c = 0; c < codec->num_pcms; c++) {
if (! codec->pcm_info[c].is_modem)
continue; /* already created */
- if (pcm_dev >= AZX_MAX_
MODEM_
PCMS) {
+ if (pcm_dev >= AZX_MAX_PCMS) {
snd_printk(KERN_ERR SFX "Too many modem PCMs\n");
return -EINVAL;
}