kernel_optimize_test/sound/usb
Shuah Khan aebb2b89bf [media] sound/usb: Use Media Controller API to share media resources
Change ALSA driver to use Media Controller API to share media resources
with DVB and V4L2 drivers on a AU0828 media device. Media Controller
specific initialization is done after sound card is registered. ALSA
creates Media interface and entity function graph nodes for Control,
Mixer, PCM Playback, and PCM Capture devices.

snd_usb_hw_params() will call Media Controller enable source handler
interface to request the media resource. If resource request is
granted, it will release it from snd_usb_hw_free(). If resource is
busy, -EBUSY is returned.

Media specific cleanup is done in usb_audio_disconnect().

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-03 15:01:13 -03:00
..
6fire treewide: Fix typos in printk 2015-12-08 14:59:19 +01:00
bcd2000 ALSA: bcd2000: Make local data static 2015-05-26 13:00:01 +02:00
caiaq ALSA: snd-usb-caiaq: fix stream count check 2015-01-05 08:56:19 +01:00
hiface
line6 ALSA: line6: Fix -EBUSY error during active monitoring 2015-07-14 15:19:37 +02:00
misc ALSA: ua101: replace le16_to_cpu() with usb_endpoint_maxp() 2015-11-16 09:03:06 +01:00
usx2y ALSA: usx2y: fix inconsistent indenting on if statement 2015-12-02 18:03:24 +01:00
card.c [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
card.h [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
clock.c ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate 2015-02-17 07:20:04 +01:00
clock.h
debug.h
endpoint.c ALSA: USB-audio: Adjust max packet size calculation for tx_length_quirk 2015-10-19 12:38:10 +02:00
endpoint.h ALSA: usb-audio: Pass direct struct pointer instead of list_head 2014-11-04 15:09:10 +01:00
format.c ALSA: usb-audio: Fix audio output on Roland SC-D70 sound module 2015-04-21 07:59:10 +02:00
format.h
helper.c
helper.h
Kconfig [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
Makefile [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
media.c [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
media.h [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
midi.c ALSA: usb-audio: constify usb_protocol_ops structures 2015-12-11 16:18:02 +01:00
midi.h
mixer_maps.c ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly 2015-12-14 10:13:17 +01:00
mixer_quirks.c ALSA: usb-audio: Fix mixer ctl regression of Native Instrument devices 2016-01-13 07:24:07 +01:00
mixer_quirks.h ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly 2015-12-14 10:13:17 +01:00
mixer_scarlett.c ALSA: usb-audio: Fix Scarlett 6i6 initialization typo 2014-12-18 08:39:17 +01:00
mixer_scarlett.h ALSA: usb-audio: Scarlett mixer interface for 6i6, 18i6, 18i8 and 18i20 2014-11-13 07:32:39 +01:00
mixer.c ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly 2015-12-14 10:13:17 +01:00
mixer.h [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
pcm.c [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
pcm.h
power.h
proc.c ALSA: usb-audio: Avoid nested autoresume calls 2015-08-26 15:38:25 +02:00
proc.h
quirks-table.h [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
quirks.c ALSA: usb-audio: Add quirk for Microsoft LifeCam HD-6000 2016-01-29 17:25:39 +01:00
quirks.h ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate 2015-02-17 07:20:04 +01:00
stream.c [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00
stream.h
usbaudio.h [media] sound/usb: Use Media Controller API to share media resources 2016-03-03 15:01:13 -03:00