OSDN Git Service

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)
commitb45a7c565473d29bd7e02ac8ca86232a24ca247f
tree91debcffbe4be26cd475406cb5496d546fc3af7f
parent075587b723ec5d90d1788b9cdba3034f524a64c9
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