aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAge
* Merge branch 'tty-next' of ↵Linus Torvalds2011-05-23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6 * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (48 commits) serial: 8250_pci: add support for Cronyx Omega PCI multiserial board. tty/serial: Fix break handling for PORT_TEGRA tty/serial: Add explicit PORT_TEGRA type n_tracerouter and n_tracesink ldisc additions. Intel PTI implementaiton of MIPI 1149.7. Kernel documentation for the PTI feature. export kernel call get_task_comm(). tty: Remove to support serial for S5P6442 pch_phub: Support new device ML7223 8250_pci: Add support for the Digi/IBM PCIe 2-port Adapter ASoC: Update cx20442 for TTY API change pch_uart: Support new device ML7223 IOH parport: Use request_muxed_region for IT87 probe and lock tty/serial: add support for Xilinx PS UART n_gsm: Use print_hex_dump_bytes drivers/tty/moxa.c: Put correct tty value TTY: tty_io, annotate locking functions TTY: serial_core, remove superfluous set_task_state TTY: serial_core, remove invalid test Char: moxa, fix locking in moxa_write ... Fix up trivial conflicts in drivers/bluetooth/hci_ldisc.c and drivers/tty/serial/Makefile. I did the hci_ldisc thing as an evil merge, cleaning things up.
| * ASoC: Update cx20442 for TTY API changeMark Brown2011-05-11
| | | | | | | | | | | | | | | | | | | | | | | | receive_buf() was recently changed to return the number of bytes received but the cx20442 driver wasn't updated to match the new API. I don't have any hardware but since we don't actually appears to be listening to the data at all just report that we accepted all the data that was offered to us. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | Merge branch 'for-linus' of ↵Linus Torvalds2011-05-23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (346 commits) ASoC: core: Don't set "(null)" as a driver name ALSA: hda - Use LPIB for ATI/AMD chipsets as default Revert "ALSA: hda - Use position_fix=3 as default for AMD chipsets" ASoC: Tegra: Fix compile when debugfs not enabled ASoC: spdif-dit: Add missing MODULE_* SOUND: OSS: Remove Au1550 driver. ALSA: hda - add Intel Panther Point HDMI codec id ALSA: emu10k1 - Add dB range to Bass and Treble for SB Live! ALSA: hda - Remove PCM mixer elements from Virtual Master of realtek ALSA: hda - Fix input-src parse in patch_analog.c ASoC: davinci-mcasp: enable ping-pong SRAM buffers ASoC: add iPAQ hx4700 machine driver ASoC: Asahi Kasei AK4641 codec driver ALSA: hda - Enable Realtek ALC269 codec input layer beep ALSA: intel8x0m: enable AMD8111 modem ALSA: HDA: Add jack detection for HDMI ALSA: sound, core, pcm_lib: fix xrun_log ASoC: Max98095: Move existing NULL check before pointer dereference. ALSA: sound, core, pcm_lib: xrun_log: log also in_interrupt ALSA: usb-audio - Add support for USB X-Fi S51 Pro ...
| * \ Merge branch 'topic/hda' into for-linusTakashi Iwai2011-05-22
| |\ \
| | * | ALSA: hda - Use LPIB for ATI/AMD chipsets as defaultTakashi Iwai2011-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATI and AMD chipsets seem not providing the proper position-buffer information, and it also doesn't provide FIFO register required by VIACOMBO fix. It's better to use LPIB for these. Reported-by: David Henningsson <david.henningsson@canonical.com> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | Revert "ALSA: hda - Use position_fix=3 as default for AMD chipsets"Takashi Iwai2011-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 447ee6a7cbbfb5ae7ab8f9b8b058b4a04fe398bf. The workaround introduced by this commit seems bogus. The AMD chipsets don't provide proper position-buffer nor FIFO value required by VIACOMBO fix. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - add Intel Panther Point HDMI codec idWu Fengguang2011-05-20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Remove PCM mixer elements from Virtual Master of realtekRaymond Yau2011-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Afer commit aa202455eec51699e44f658530728162cefa1307 , none of realtek codec has hardware volume control "PCM Playback Volume" and "PCM Playback Switch". As Virtual Master require all slave controls must have same number of step and dB range. Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix input-src parse in patch_analog.cAdrian Wilkins2011-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compare pin type enum to the pin type and not the array index. Fixes bug#0005368. Signed-off-by: Adrian Wilkins <adrian.wilkins@nhs.net> Cc: <stable@kernel.org> (2.6.37 and later) Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Enable Realtek ALC269 codec input layer beepMadis Janson2011-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the input layer beep not working on some EeePC 1000 models by adding the subsystem id into whitelist. Otherwise the corresponding ALSA mixer is not enabled and stays muted, resulting in no console beep. Signed-off-by: Madis Janson <madis@cyber.ee> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: HDA: Add jack detection for HDMIDavid Henningsson2011-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just as for headphones and microphone jacks, this patch adds reporting of HDMI jack status through the input layer. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix no sound after Windows boot with ALC269Kailang Yang2011-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change power control register to default. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of ALC221 / ALC276 codecsKailang Yang2011-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Compatible with ALC269. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of ALC898/899 codecKailang Yang2011-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are compatible with ALC882 codec. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Enable snoop bit for AMD controllersTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AMD Hudson controllers give noisy outputs when the buffer data is rewritten on the fly as PulseAudio does. This seems fixed by the snoop bit enabled just like ATI chipset. Also, disable 64bit DMA as now, to be sure. We can revisit this later. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Handle dock line-in as auto-detecable for Cxt auto-parserTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | Similar process like in patch_realtek.c and patch_sigmatel.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Handle dock line-in as auto-detectable for IDT codecsTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a docking-station has a line-in jack, we can handle it also as a detectable jack just like mic-in. This will improve the usability of HP laptops with a docking-station. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add dock-mic detection support to Realtek auto-parserTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to the normal mic jack, the mic (or line-in) jack on the docking-station is checked also as a candidate for auto-selection. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Check unsol-cap in is_jack_detectalbe()Takashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | Also replace more open-codes with this function. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of dock-mic detection to Conexant auto-parserTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to the normal external mic jack, check also the mic jack on a docking-station as well, and select the input source appropriately. The similar functionality was already implemented in patch_sigmatel.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix initialization of spec->automute_lines in patch_realtek.cTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | spec->automute_lines shouldn't be set unless the line-detection is available. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Use get_wcaps_type()Takashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | Replace the open-code with get_wcaps_type() macro. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Use is_jack_detectable() helperTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | Replaced the open-code with the new helper function. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add automute-mode enum to Conexant auto-parserTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the same functionality as Realtek's auto-mute mode control. Now Conexant auto-parser can also mutes line-out and provide the enum control for different automute behavior. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add missing Front/Surround/CLFE as slaves for Cxt auto-parserTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Code refactoring in patch_conexant.cTakashi Iwai2011-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a struct instead of each array for managing input-source info for auto-parser. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: HDA: Use one dmic only for Dell Studio 1558David Henningsson2011-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are no signs of a dmic at node 0x0b, so the user is left with an additional internal mic which does not exist. This commit removes that non-existing mic. Cc: stable@kernel.org (2.6.32+) BugLink: http://bugs.launchpad.net/bugs/731706 Reported-by: James Page <james.page@canonical.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of auto-parser to cxt5066 codecsTakashi Iwai2011-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Still experimental. Not enabled as default unless model=auto is passed. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Don't create multiple same volume/boost controls in Cxt auto-parserTakashi Iwai2011-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Check the routing more exactly for avoiding the duplicated controls for the very same effect for multiple capture routes in Conexant auto-parser. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Build boost controls from selector widget in Cxt auto-parserTakashi Iwai2011-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When the intermediate selector widget in the capture path provides the boost volume, create the corresponding volume control. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Don't use auto-parser for cxt5045 / 5051 as defaultTakashi Iwai2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just for safety reason (for avoiding any possible regressions), don't enable auto-parser as default for cxt5045 and 5051, as well as 5047. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Enable codec->pin_amp_workaround always for Conexant auto-parserTakashi Iwai2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | It can (must for some) be used for all Conexnat codecs safely. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Search ADC NIDs dynamically in Conexant auto-parserTakashi Iwai2011-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of giving fixed arrays, look for ADC nids dynamically in the tree in Conexant auto-parser code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add support of auto-parser to cxt5047 / CX20551 WaikikiTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similarly like other Conexant codecs, now model=auto is supported for cxt5047. But the auto-parser mode isn't activated as default yet, since BIOS pin-configs seem often broken on machines with this codec. User need to pass model=auto explicitly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Parse more deep input-source routes in Conexant auto-parserTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle not only a single-depth input-route but two-level depth routes (PIN->MUX->ADC), too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Clean up input-mux handling in Conexant auto-parserTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep the registered input-pins in imux_pins[], and fix the inconsistent use of sepc->auto_mic_ext. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add auto-parser support to cxt5045 / CX20549 VeniceTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Add auto-parser support to cxt5051 / CX20561 HermosaTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the existing auto-parser for CX2064x for cxt5051 codec. Now the auto-parser supports ADC-switching for this codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Check AMP CAP at initialization of Conexant auto-parserTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | Some codecs have no mute caps in audio I/O widgets. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Turn on EAPD dynamically per jack plug in Conexant auto modeTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of keeping always EAPD on, turn on/off appropriately at jack plugging in Conexant auto-parser mode. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Fix auto-mic for CX2064x codecsTakashi Iwai2011-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrong id is assigned for external/internal mics in the auto-mic selection parser. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - Use position_fix=3 as default for AMD chipsetsTakashi Iwai2011-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AMD chipsets often behave pretty badly regarding the DMA position reporting. It results in the bad quality audio recording. Using position_fix=3 works well in general for them, so let's enable it as default for AMD. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | ALSA: hda - fix NULL-dereference in patch_realtekRaymond Yau2011-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix NULL-dereference when try to use alt_playback since those codecs which support multistreaming playback usually have more than 1 adc but the driver should create alt_capture when spec->stream_analog_alt_capture is also defined. Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | Merge branch 'fix/hda' into topic/hdaTakashi Iwai2011-05-02
| | |\ \
| | * | | ALSA: hda - Constify fixup and other array data in patch_via.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: hda - Constify fixup and other array data in patch_sigmatel.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: hda - Constify fixup and other array data in patch_si3054.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: hda - Constify fixup and other array data in patch_hdmi.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: hda - Constify fixup and other array data in patch_conexant.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
| | * | | ALSA: hda - Constify fixup and other array data in patch_cirrus.cTakashi Iwai2011-05-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>