From: Dylan Reid Date: Tue, 18 Sep 2012 16:49:48 +0000 (-0700) Subject: ALSA: usb-audio: Move configuration to prepare. X-Git-Tag: v3.7-rc1~81^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a709504b079110cd5b12ea9a4590ffea687a5c;p=pandora-kernel.git ALSA: usb-audio: Move configuration to prepare. Move interface and endpoint configuration from hw_params to prepare callback. During system suspend/resume when the USB device power isn't cycled the interface and endpoint configuration need to be set before audio playback can continue. Resume involves another call to prepare but not to hw_params, moving it here allows a playing stream to continue after resume. Signed-off-by: Dylan Reid Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed