aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 2098de7c5679..a8eaeb463b0d 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)
1252 for (c = 0; c < codec->num_pcms; c++) { 1252 for (c = 0; c < codec->num_pcms; c++) {
1253 if (! codec->pcm_info[c].is_modem) 1253 if (! codec->pcm_info[c].is_modem)
1254 continue; /* already created */ 1254 continue; /* already created */
1255 if (pcm_dev >= AZX_MAX_MODEM_PCMS) { 1255 if (pcm_dev >= AZX_MAX_PCMS) {
1256 snd_printk(KERN_ERR SFX "Too many modem PCMs\n"); 1256 snd_printk(KERN_ERR SFX "Too many modem PCMs\n");
1257 return -EINVAL; 1257 return -EINVAL;
1258 } 1258 }