diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-04 05:15:31 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-14 02:18:34 -0500 |
commit | 9cbb2808ccfb3c64300151baf73bd5f11feab77f (patch) | |
tree | 53930ff60906be6edcc062499d6a43905c2d25e4 /sound | |
parent | bb343e7969cb8a4b6b20bddc97098c87f4fae2b5 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index aa9bc19aae68..8c152b02da5a 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c | |||
@@ -2373,7 +2373,7 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, | |||
2373 | 2373 | ||
2374 | snd_usb_mixer_apply_create_quirk(mixer); | 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 | if (err < 0) | 2377 | if (err < 0) |
2378 | goto _error; | 2378 | goto _error; |
2379 | 2379 | ||