[alsa-devel] [PATCH 16/20] HID: prodikeys: Use SNDRV_DEV_CARD for card objects

Takashi Iwai tiwai at suse.de
Wed Feb 12 11:52:23 CET 2014


... instead of SNDRV_DEV_LOWLEVEL.
No functional change at this point.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 drivers/hid/hid-prodikeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-prodikeys.c b/drivers/hid/hid-prodikeys.c
index 91fab975063c..1085e7bbba3f 100644
--- a/drivers/hid/hid-prodikeys.c
+++ b/drivers/hid/hid-prodikeys.c
@@ -634,7 +634,7 @@ static int pcmidi_snd_initialise(struct pcmidi_snd *pm)
 	pm->card = card;
 
 	/* Setup sound device */
-	err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, pm, &ops);
+	err = snd_device_new(card, SNDRV_DEV_CARD, pm, &ops);
 	if (err < 0) {
 		pk_error("failed to create pc-midi sound device: error %d\n",
 			err);
-- 
1.8.5.2



More information about the Alsa-devel mailing list