···889889 return -ENODEV;890890 }891891892892- if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, onyx, &ops)) {892892+ if (aoa_snd_device_new(SNDRV_DEV_CODEC, onyx, &ops)) {893893 printk(KERN_ERR PFX "failed to create onyx snd device!\n");894894 return -ENODEV;895895 }
+1-1
sound/aoa/codecs/tas.c
···826826 return -ENODEV;827827 }828828829829- if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, tas, &ops)) {829829+ if (aoa_snd_device_new(SNDRV_DEV_CODEC, tas, &ops)) {830830 printk(KERN_ERR PFX "failed to create tas snd device!\n");831831 return -ENODEV;832832 }
+1-1
sound/aoa/codecs/toonie.c
···9292 if (toonie->codec.connected != 1)9393 return -ENOTCONN;94949595- if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) {9595+ if (aoa_snd_device_new(SNDRV_DEV_CODEC, toonie, &ops)) {9696 printk(KERN_ERR PFX "failed to create toonie snd device!\n");9797 return -ENODEV;9898 }