]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: line6: Drop superfluous snd_device for PCM
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Jan 2015 13:41:57 +0000 (14:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 07:14:55 +0000 (08:14 +0100)
commit3be294b4751948f998f3da132e9972edabf7dee2
tree91debcffbe4be26cd475406cb5496d546fc3af7f
parent754f343cbe2311225ec148e5856cd8f83fc43b77
ALSA: line6: Drop superfluous snd_device for PCM

Instead of handling the card-specific resource in snd_device, attach
it into pcm->private_data and release it directly in private_free.
This simplifies the code and structure.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pcm.c