diff options
Diffstat (limited to 'sound/drivers/mpu401/mpu401.c')
| -rw-r--r-- | sound/drivers/mpu401/mpu401.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/drivers/mpu401/mpu401.c b/sound/drivers/mpu401/mpu401.c index 67c6e9745418..23fee622c8fc 100644 --- a/sound/drivers/mpu401/mpu401.c +++ b/sound/drivers/mpu401/mpu401.c | |||
| @@ -70,6 +70,9 @@ static int snd_mpu401_create(int dev, struct snd_card **rcard) | |||
| 70 | struct snd_card *card; | 70 | struct snd_card *card; |
| 71 | int err; | 71 | int err; |
| 72 | 72 | ||
| 73 | if (!uart_enter[dev]) | ||
| 74 | snd_printk(KERN_ERR "the uart_enter option is obsolete; remove it\n"); | ||
| 75 | |||
| 73 | *rcard = NULL; | 76 | *rcard = NULL; |
| 74 | card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0); | 77 | card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0); |
| 75 | if (card == NULL) | 78 | if (card == NULL) |
| @@ -83,8 +86,7 @@ static int snd_mpu401_create(int dev, struct snd_card **rcard) | |||
| 83 | strcat(card->longname, "polled"); | 86 | strcat(card->longname, "polled"); |
| 84 | } | 87 | } |
| 85 | 88 | ||
| 86 | err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, port[dev], | 89 | err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, port[dev], 0, |
| 87 | uart_enter[dev] ? 0 : MPU401_INFO_UART_ONLY, | ||
| 88 | irq[dev], irq[dev] >= 0 ? IRQF_DISABLED : 0, | 90 | irq[dev], irq[dev] >= 0 ? IRQF_DISABLED : 0, |
| 89 | NULL); | 91 | NULL); |
| 90 | if (err < 0) { | 92 | if (err < 0) { |
