diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-07 15:26:56 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 10:47:18 +0200 |
commit | a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6 (patch) | |
tree | 7452dd3273006cb93ef4148ed752d14f04e763c6 /sound/pci | |
parent | 0dd119f703d50759f0835f342e385f82cbf8b89e (diff) | |
download | op-kernel-dev-a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6.zip op-kernel-dev-a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6.tar.gz |
[ALSA] hda-intel - Fix modem PCM creation
HDA Intel driver
Fix a bug of modem PCM creation (due to a typo).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 2098de7..a8eaeb4 100644 --- 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; } |