Skip to content

Commit d915178

Browse files
committed
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>
1 parent 9cbb280 commit d915178

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎sound/aoa/codecs/onyx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ static int onyx_init_codec(struct aoa_codec *codec)
889889
return -ENODEV;
890890
}
891891

892-
if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, onyx, &ops)) {
892+
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
}

‎sound/aoa/codecs/tas.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ static int tas_init_codec(struct aoa_codec *codec)
826826
return -ENODEV;
827827
}
828828

829-
if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, tas, &ops)) {
829+
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
}

‎sound/aoa/codecs/toonie.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int toonie_init_codec(struct aoa_codec *codec)
9292
if (toonie->codec.connected != 1)
9393
return -ENOTCONN;
9494

95-
if (aoa_snd_device_new(SNDRV_DEV_LOWLEVEL, toonie, &ops)) {
95+
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
}

0 commit comments

Comments
 (0)