Commit 9cbb2808ccfb3c64300151baf73bd5f11feab77f

Authored by Takashi Iwai
1 parent bb343e7969

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -2373,7 +2373,7 @@
2373 2373  
2374 2374 snd_usb_mixer_apply_create_quirk(mixer);
2375 2375  
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);
2377 2377 if (err < 0)
2378 2378 goto _error;
2379 2379