linux_dsm_epyc7002/sound/usb
Clemens Ladisch cbc200bca4 ALSA: usb-audio: disable autopm for MIDI devices
Commit 88a8516a21 (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 f5f165418c (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>
2013-04-15 16:03:57 +02:00
..
6fire
caiaq ALSA: snd-usb-caiaq: fix smatch warnings 2013-03-07 09:24:12 +01:00
misc
usx2y
card.c ALSA: usb-audio: UAC2: auto clock selection module param 2013-04-04 08:31:32 +02:00
card.h ALSA: usb: Add quirk for 192KHz recording on E-Mu devices 2013-04-13 10:58:03 +02:00
clock.c ALSA: snd-usb: Playback Design: use usb_set_inferface quirk from more locations 2013-04-10 09:21:43 +02:00
clock.h ALSA: usb-audio: UAC2: do clock validity check earlier 2013-04-04 08:30:59 +02:00
debug.h
endpoint.c ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
endpoint.h ALSA: usb-audio: spelling correction 2013-04-04 08:30:30 +02:00
format.c ALSA: usb-audio: UAC2: do clock validity check earlier 2013-04-04 08:30:59 +02:00
format.h ALSA: snd-usb: handle the bmFormats field as unsigned int 2013-03-18 08:47:04 +01:00
helper.c
helper.h
Kconfig
Makefile
midi.c ALSA: usb-audio: disable autopm for MIDI devices 2013-04-15 16:03:57 +02:00
midi.h
mixer_maps.c ALSA: usb-audio: add support for M-Audio FT C600 2013-02-11 14:02:27 +01:00
mixer_quirks.c ALSA: usb-audio: add support for M-Audio FT C600 2013-02-11 14:02:27 +01:00
mixer_quirks.h
mixer.c ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls() 2013-03-20 08:43:00 +01:00
mixer.h
pcm.c ALSA: usb: Add quirk for 192KHz recording on E-Mu devices 2013-04-13 10:58:03 +02:00
pcm.h
power.h
proc.c ALSA: usb-audio: convert list_for_each to entry variant 2013-04-04 08:30:06 +02:00
proc.h
quirks-table.h ALSA: usb-audio: Trust fields given in the quirk 2013-03-18 08:46:37 +01:00
quirks.c ALSA: usb: Add quirk for 192KHz recording on E-Mu devices 2013-04-13 10:58:03 +02:00
quirks.h ALSA: snd-usb: Playback Design: use usb_set_inferface quirk from more locations 2013-04-10 09:21:43 +02:00
stream.c ALSA: usb: Add quirk for 192KHz recording on E-Mu devices 2013-04-13 10:58:03 +02:00
stream.h
usbaudio.h ALSA: usb-audio: UAC2: auto clock selection module param 2013-04-04 08:31:32 +02:00