aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-03 11:30:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 09:03:37 -0800
commit6ab1dea0945d7179637bbec02e7e8894a59f8ba6 (patch)
tree27e3fadb87d2c90cb2b2a7c6435bfab3158dedab /sound/sound_core.c
parent5a6400c991f269eaab5a175d8b7c656155a74129 (diff)
downloadkernel_samsung_smdk4412-6ab1dea0945d7179637bbec02e7e8894a59f8ba6.zip
kernel_samsung_smdk4412-6ab1dea0945d7179637bbec02e7e8894a59f8ba6.tar.gz
kernel_samsung_smdk4412-6ab1dea0945d7179637bbec02e7e8894a59f8ba6.tar.bz2
ALSA: usb-audio: Fix missing autopm for MIDI input
commit f5f165418cabf2218eb466c0e94693b8b1aee88b upstream. The commit [88a8516a: ALSA: usbaudio: implement USB autosuspend] added the support of autopm for USB MIDI output, but it didn't take the MIDI input into account. This patch adds the following for fixing the autopm: - Manage the URB start at the first MIDI input stream open, instead of the time of instance creation - Move autopm code to the common substream_open() - Make snd_usbmidi_input_start/_stop() more robust and add the running state check Reviewd-by: Clemens Ladisch <clemens@ladisch.de> Tested-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions