[alsa-devel] [PATCH 12/20] ALSA: sh: Use SNDRV_DEV_CARD for card objects
Takashi Iwai
tiwai at suse.de
Wed Feb 12 11:52:19 CET 2014
... instead of SNDRV_DEV_LOWLEVEL.
No functional change at this point.
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
sound/sh/sh_dac_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c
index d1fb74dabbd1..8ae769e62084 100644
--- a/sound/sh/sh_dac_audio.c
+++ b/sound/sh/sh_dac_audio.c
@@ -378,7 +378,7 @@ static int snd_sh_dac_create(struct snd_card *card,
return -ENOMEM;
}
- err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops);
+ err = snd_device_new(card, SNDRV_DEV_CARD, chip, &ops);
if (err < 0) {
snd_sh_dac_free(chip);
return err;
--
1.8.5.2
More information about the Alsa-devel
mailing list