12 Feb
2014
12 Feb
'14
11:52 a.m.
... instead of SNDRV_DEV_LOWLEVEL. No functional change at this point.
Signed-off-by: Takashi Iwai tiwai@suse.de --- drivers/usb/gadget/f_midi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/f_midi.c b/drivers/usb/gadget/f_midi.c index 807b31c0edc3..f7f79bb99c7e 100644 --- a/drivers/usb/gadget/f_midi.c +++ b/drivers/usb/gadget/f_midi.c @@ -672,7 +672,7 @@ static int f_midi_register_card(struct f_midi *midi) } midi->card = card;
- err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, midi, &ops); + err = snd_device_new(card, SNDRV_DEV_CARD, midi, &ops); if (err < 0) { ERROR(midi, "snd_device_new() failed: error %d\n", err); goto fail;
--
1.8.5.2