[alsa-devel] [PATCH 11/20] ALSA: ppc: Use SNDRV_DEV_CARD for card objects

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


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

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

diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 7a43c0c38316..2bb0d674cb59 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -1343,7 +1343,7 @@ int snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return)
 	/* Reset dbdma channels */
 	snd_pmac_dbdma_reset(chip);
 
-	if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0)
+	if ((err = snd_device_new(card, SNDRV_DEV_CARD, chip, &ops)) < 0)
 		goto __error;
 
 	*chip_return = chip;
-- 
1.8.5.2



More information about the Alsa-devel mailing list