diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2013-04-15 15:59:51 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-04-15 16:03:57 +0200 |
commit | cbc200bca4b51a8e2406d4b654d978f8503d430b (patch) | |
tree | e016be39de0e9198f5c185756bcbf12590cb1f03 /fs/btrfs/extent_io.h | |
parent | d240d1dcd5b42df4680e65f637e71bbc954e4d74 (diff) |
ALSA: usb-audio: disable autopm for MIDI devices
Commit 88a8516a2128 (ALSA: usbaudio: implement USB autosuspend)
introduced autopm for all USB audio/MIDI devices. However, many MIDI
devices, such as synthesizers, do not merely transmit MIDI messages but
use their MIDI inputs to control other functions. With autopm, these
devices would get powered down as soon as the last MIDI port device is
closed on the host.
Even some plain MIDI interfaces could get broken: they automatically
send Active Sensing messages while powered up, but as soon as these
messages cease, the receiving device would interpret this as an
accidental disconnection.
Commit f5f165418cab (ALSA: usb-audio: Fix missing autopm for MIDI input)
introduced another regression: some devices (e.g. the Roland GAIA SH-01)
are self-powered but do a reset whenever the USB interface's power state
changes.
To work around all this, just disable autopm for all USB MIDI devices.
Reported-by: Laurens Holst
Cc: <stable@vger.kernel.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs/btrfs/extent_io.h')
0 files changed, 0 insertions, 0 deletions