ALSA: snd-usb: operate on given mixer interface only
authorDaniel Mack <zonque@gmail.com>
Thu, 4 Aug 2011 13:56:28 +0000 (15:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Aug 2011 14:24:10 +0000 (16:24 +0200)
When creating the mixers for an USB audio device, the current code looks
at the host interface stored in mixer->chip->ctrl_if. Change this and
rather keep a local pointer to the interface that was given when
snd_usb_create_mixer() was called.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Nicolai Krakowiak <nicolai.krakowiak@gmail.com>
Reported-by: Lean-Yves LENHOF <jean-yves@lenhof.eu.org>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found