]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - sound/drivers/mpu401/mpu401_uart.c
[ALSA] Add error messages
[mirror_ubuntu-eoan-kernel.git] / sound / drivers / mpu401 / mpu401_uart.c
index 16e87f31788c4b73e3c36b37e23a8798331fc606..ee67b522d25907580439e9d9783e711633613ab1 100644 (file)
@@ -462,6 +462,7 @@ int snd_mpu401_uart_new(struct snd_card *card, int device,
                return err;
        mpu = kzalloc(sizeof(*mpu), GFP_KERNEL);
        if (mpu == NULL) {
+               snd_printk(KERN_ERR "mpu401_uart: cannot allocate\n");
                snd_device_free(card, rmidi);
                return -ENOMEM;
        }