ALSA: aoa: Use SNDRV_DEV_CODEC for AOA codec objects
[sfrench/cifs-2.6.git] / sound / aoa / codecs / onyx.c
index 4cedc6950d72ffb79c329612fd91dc0fed465668..f01bffb702bc3d84544b0a29e12a158eb38805d1 100644 (file)
@@ -889,7 +889,7 @@ static int onyx_init_codec(struct aoa_codec *codec)
                return -ENODEV;
        }
 
-       if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, onyx, &ops)) {
+       if (aoa_snd_device_new(SNDRV_DEV_CODEC, onyx, &ops)) {
                printk(KERN_ERR PFX "failed to create onyx snd device!\n");
                return -ENODEV;
        }