|
@@ -92,7 +92,7 @@ static int toonie_init_codec(struct aoa_codec *codec)
|
|
if (toonie->codec.connected != 1)
|
|
if (toonie->codec.connected != 1)
|
|
return -ENOTCONN;
|
|
return -ENOTCONN;
|
|
|
|
|
|
- if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) {
|
|
|
|
|
|
+ if (aoa_snd_device_new(SNDRV_DEV_CODEC, toonie, &ops)) {
|
|
printk(KERN_ERR PFX "failed to create toonie snd device!\n");
|
|
printk(KERN_ERR PFX "failed to create toonie snd device!\n");
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|