]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f9cb1ed9a68a71521e74745db724889bfea221b
tree20509b13b846678dbb8c16277bb0c57c936e735b
parentf7326b7e8f851f59eb7a19eb687afb4b344839be
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