diff options
Diffstat (limited to 'sound/drivers/mpu401/mpu401_uart.c')
-rw-r--r-- | sound/drivers/mpu401/mpu401_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/drivers/mpu401/mpu401_uart.c b/sound/drivers/mpu401/mpu401_uart.c index 16e87f31788c..ee67b522d259 100644 --- a/sound/drivers/mpu401/mpu401_uart.c +++ b/sound/drivers/mpu401/mpu401_uart.c | |||
@@ -462,6 +462,7 @@ int snd_mpu401_uart_new(struct snd_card *card, int device, | |||
462 | return err; | 462 | return err; |
463 | mpu = kzalloc(sizeof(*mpu), GFP_KERNEL); | 463 | mpu = kzalloc(sizeof(*mpu), GFP_KERNEL); |
464 | if (mpu == NULL) { | 464 | if (mpu == NULL) { |
465 | snd_printk(KERN_ERR "mpu401_uart: cannot allocate\n"); | ||
465 | snd_device_free(card, rmidi); | 466 | snd_device_free(card, rmidi); |
466 | return -ENOMEM; | 467 | return -ENOMEM; |
467 | } | 468 | } |