Skip to content

Commit 9cbb280

Browse files
committed
ALSA: usb-audio: Use SNDRV_DEV_CODEC for mixer objects
Instead of SNDRV_DEV_LOWLEVEL, use SNDRV_DEV_CODEC type for mixer objects so that they are managed in a proper release order. No functional change at this point. Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent bb343e7 commit 9cbb280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/usb/mixer.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
23732373

23742374
snd_usb_mixer_apply_create_quirk(mixer);
23752375

2376-
err = snd_device_new(chip->card, SNDRV_DEV_LOWLEVEL, mixer, &dev_ops);
2376+
err = snd_device_new(chip->card, SNDRV_DEV_CODEC, mixer, &dev_ops);
23772377
if (err < 0)
23782378
goto _error;
23792379

0 commit comments

Comments
 (0)