ALSA: usb-audio: Don't require hw_params in endpoint.
authorDylan Reid <dgreid@chromium.org>
Tue, 18 Sep 2012 16:49:47 +0000 (09:49 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Sep 2012 06:07:52 +0000 (08:07 +0200)
commit35ec7aa29833de350f51922736aefe22ebf76c4d
tree20509b13b846678dbb8c16277bb0c57c936e735b
parent715a170563843a1f55ae4c8484bc4732d69d2288
ALSA: usb-audio: Don't require hw_params in endpoint.

Change the interface to configure an endpoint so that it doesn't require
a hw_params struct.  This will allow it to be called from prepare
instead of hw_params, configuring it after system resume.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c
sound/usb/endpoint.h
sound/usb/pcm.c