From a81607fe6c5db4726a25efd30f8ad605b444f286 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 7 Sep 2005 15:26:56 +0200 Subject: [PATCH] --- yaml --- r: 8841 b: refs/heads/master c: a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6 h: refs/heads/master i: 8839: 48dce21a7a599016cc6bac2b38885034deb521f7 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_intel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8f91e9020e63..fcc9e7b70e84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0dd119f703d50759f0835f342e385f82cbf8b89e +refs/heads/master: a28f1cda0d01f6f98e3bef6a07c483a90f6a35d6 diff --git a/trunk/sound/pci/hda/hda_intel.c b/trunk/sound/pci/hda/hda_intel.c index 2098de7c5679..a8eaeb463b0d 100644 --- a/trunk/sound/pci/hda/hda_intel.c +++ b/trunk/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; }