WSL2-Linux-Kernel/sound/usb
Takashi Iwai 88d8822d30 ALSA: usb-audio: Manage auto-pm of all bundled interfaces
Currently USB-audio driver manages the auto-pm of the primary
interface although a card may consist of multiple interfaces.
This may leave the secondary and other interfaces left running
unnecessarily after the auto-suspend.

This patch allows the driver managing the auto-pm of all bundled
interfaces per card.  The chip->pm_intf field is extended as
chip->intf[] to contain the array of assigned interfaces, and the
runtime-PM is performed to all those interfaces.

Tested-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://lore.kernel.org/r/20200605064117.28504-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-06-08 19:34:49 +02:00
..
6fire
bcd2000
caiaq
hiface
line6 Merge branch 'for-linus' into for-next 2020-05-28 10:08:50 +02:00
misc
usx2y ALSA: Replace zero-length array with flexible-array 2020-05-07 22:30:36 +02:00
Kconfig
Makefile ALSA: usb-audio: Add support for Presonus Studio 1810c 2020-02-15 09:46:16 +01:00
card.c ALSA: usb-audio: Manage auto-pm of all bundled interfaces 2020-06-08 19:34:49 +02:00
card.h ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback 2020-05-15 19:14:29 +02:00
clock.c ALSA: usb-audio: Add support for MOTU MicroBook IIc 2020-03-06 09:03:17 +01:00
clock.h
debug.h
endpoint.c ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback 2020-05-15 19:14:29 +02:00
endpoint.h ALSA: usb-audio: Improve frames size computation 2020-04-24 08:25:24 +02:00
format.c ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices 2020-04-18 21:08:39 +02:00
format.h
helper.c
helper.h
media.c
media.h
midi.c ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor 2020-03-31 14:34:28 +02:00
midi.h
mixer.c ALSA: usb-audio: mixer: volume quirk for ESS Technology Asus USB DAC 2020-05-26 08:30:35 +02:00
mixer.h ALSA: usb-audio: Add connector notifier delegation 2020-04-22 13:33:46 +02:00
mixer_maps.c ALSA: usb-audio: Quirks for Gigabyte TRX40 Aorus Master onboard audio 2020-05-27 08:10:57 +02:00
mixer_quirks.c ALSA: usb-audio: Fixing usage of plain int instead of NULL 2020-05-29 19:40:31 +02:00
mixer_quirks.h
mixer_s1810c.c ALSA: usb-audio: Fix missing braces in some struct inits 2020-03-06 10:14:43 +01:00
mixer_s1810c.h ALSA: usb-audio: Add support for Presonus Studio 1810c 2020-02-15 09:46:16 +01:00
mixer_scarlett.c
mixer_scarlett.h
mixer_scarlett_gen2.c
mixer_scarlett_gen2.h
mixer_us16x08.c
mixer_us16x08.h
pcm.c ALSA: usb-audio: Add Pioneer DJ DJM-900NXS2 support 2020-06-01 20:35:50 +02:00
pcm.h
power.c
power.h
proc.c ALSA: usb-audio: Fix a limit check in proc_dump_substream_formats() 2020-04-22 11:29:15 +02:00
proc.h
quirks-table.h ALSA: usb-audio: Use the new macro for HP Dock rename quirks 2020-06-08 09:15:51 +02:00
quirks.c ALSA: usb-audio: Add Pioneer DJ DJM-900NXS2 support 2020-06-01 20:35:50 +02:00
quirks.h ALSA: usb-audio: Rewrite registration quirk handling 2020-03-26 10:47:00 +01:00
stream.c ALSA: usb-audio: Inform devices that need delayed registration 2020-03-26 10:49:08 +01:00
stream.h
usbaudio.h ALSA: usb-audio: Manage auto-pm of all bundled interfaces 2020-06-08 19:34:49 +02:00
validate.c