[alsa-devel] [PATCH 17/20] staging: Use SNDRV_DEV_CARD for card objects
Takashi Iwai
tiwai at suse.de
Wed Feb 12 11:52:24 CET 2014
... instead of SNDRV_DEV_LOWLEVEL.
No functional change at this point.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
drivers/staging/media/go7007/snd-go7007.c | 2 +-
drivers/staging/media/solo6x10/solo6x10-g723.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/media/go7007/snd-go7007.c b/drivers/staging/media/go7007/snd-go7007.c
index 9eb2a20ae40a..32c5032284a3 100644
--- a/drivers/staging/media/go7007/snd-go7007.c
+++ b/drivers/staging/media/go7007/snd-go7007.c
@@ -251,7 +251,7 @@ int go7007_snd_init(struct go7007 *go)
kfree(gosnd);
return ret;
}
- ret = snd_device_new(gosnd->card, SNDRV_DEV_LOWLEVEL, go,
+ ret = snd_device_new(gosnd->card, SNDRV_DEV_CARD, go,
&go7007_snd_device_ops);
if (ret < 0) {
kfree(gosnd);
diff --git a/drivers/staging/media/solo6x10/solo6x10-g723.c b/drivers/staging/media/solo6x10/solo6x10-g723.c
index 74f037b6166c..e825256a1f48 100644
--- a/drivers/staging/media/solo6x10/solo6x10-g723.c
+++ b/drivers/staging/media/solo6x10/solo6x10-g723.c
@@ -379,7 +379,7 @@ int solo_g723_init(struct solo_dev *solo_dev)
sprintf(card->longname, "%s on %s IRQ %d", card->shortname,
pci_name(solo_dev->pdev), solo_dev->pdev->irq);
- ret = snd_device_new(card, SNDRV_DEV_LOWLEVEL, solo_dev, &ops);
+ ret = snd_device_new(card, SNDRV_DEV_CARD, solo_dev, &ops);
if (ret < 0)
goto snd_error;
--
1.8.5.2
More information about the Alsa-devel
mailing list