[alsa-devel] [PATCH 18/20] usb: gadget: Use SNDRV_DEV_CARD for card objects
Takashi Iwai
tiwai at suse.de
Wed Feb 12 11:52:25 CET 2014
... instead of SNDRV_DEV_LOWLEVEL.
No functional change at this point.
Signed-off-by: Takashi Iwai <tiwai at 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
More information about the Alsa-devel
mailing list