Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: aoa: Use SNDRV_DEV_CODEC for AOA codec objects

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+3 -3
+1 -1
sound/aoa/codecs/onyx.c
··· 889 889 return -ENODEV; 890 890 } 891 891 892 - if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, onyx, &ops)) { 892 + if (aoa_snd_device_new(SNDRV_DEV_CODEC, onyx, &ops)) { 893 893 printk(KERN_ERR PFX "failed to create onyx snd device!\n"); 894 894 return -ENODEV; 895 895 }
+1 -1
sound/aoa/codecs/tas.c
··· 826 826 return -ENODEV; 827 827 } 828 828 829 - if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, tas, &ops)) { 829 + if (aoa_snd_device_new(SNDRV_DEV_CODEC, tas, &ops)) { 830 830 printk(KERN_ERR PFX "failed to create tas snd device!\n"); 831 831 return -ENODEV; 832 832 }
+1 -1
sound/aoa/codecs/toonie.c
··· 92 92 if (toonie->codec.connected != 1) 93 93 return -ENOTCONN; 94 94 95 - if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) { 95 + if (aoa_snd_device_new(SNDRV_DEV_CODEC, toonie, &ops)) { 96 96 printk(KERN_ERR PFX "failed to create toonie snd device!\n"); 97 97 return -ENODEV; 98 98 }