projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb343e7
)
ALSA: usb-audio: Use SNDRV_DEV_CODEC for mixer objects
author
Takashi Iwai
<tiwai@suse.de>
Tue, 4 Feb 2014 10:15:31 +0000
(11:15 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 14 Feb 2014 07:18:34 +0000
(08:18 +0100)
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>
sound/usb/mixer.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/mixer.c
b/sound/usb/mixer.c
index aa9bc19aae688a8f2ef4480da4d142f16addc4df..8c152b02da5a9dd83c63e773ec146f8d8abf0b35 100644
(file)
--- 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,
snd_usb_mixer_apply_create_quirk(mixer);
- err = snd_device_new(chip->card, SNDRV_DEV_
LOWLEVEL
, mixer, &dev_ops);
+ err = snd_device_new(chip->card, SNDRV_DEV_
CODEC
, mixer, &dev_ops);
if (err < 0)
goto _error;