original_kernel/sound
Mark Brown e76d8ceaaf ALSA: Add jack reporting API
Currently very few systems provide information about jack status to user
space, even though many have hardware facilities to do detection. Those
systems that do use an input device with the existing SW_HEADPHONE_INSERT
switch type to do so, often independently of ALSA.

This patch introduces a standard method for representing jacks to user
space into ALSA. It allows drivers to register jacks for a sound card with
the input subsystem, binding the input device to the card to help user
space associate the input devices with their sound cards. The created
input devices are named in the form "card longname jack" where jack is
provided by the driver when allocating a jack. By default the parent for
the input device is the sound card but this can be overridden by the
card driver.

The existing user space API with SW_HEADPHONE_INSERT is preserved.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-07-29 21:32:03 +02:00
..
aoa
arm [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
core ALSA: Add jack reporting API 2008-07-29 21:32:03 +02:00
drivers
i2c
isa
mips removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
oss [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
parisc
pci ALSA: Fix commit: Add automatic model setting for the Acer Aspire 5920G laptop 2008-07-28 17:07:07 +02:00
pcmcia
ppc ALSA: snd-powermac: HP detection for 1st iMac G3 SL 2008-10-02 12:50:37 +02:00
sh sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
soc Merge branch 'asoc-fixes' into for-linus 2008-10-02 12:50:50 +02:00
sparc
spi
synth
usb ALSA: usb-audio: add BOSS GT-10 support 2008-07-28 10:19:39 +02:00
Kconfig Fix CONFIG_AC97_BUS dependency 2008-09-06 11:43:41 +02:00
Makefile
ac97_bus.c
last.c
sound_core.c
sound_firmware.c