summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2012-05-22Ux500 ASoC: Fixed register defines for AB8500 codec-driver.Ola Lilja
Changed defines that were set as bit-mask but used as number of shifts. Change-Id: Ic1e3fbf7133c15eadeb97a3e57d5e48ac466bfbd Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20096 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Ux500 ASoC: Add support for burst-modeOla Lilja
ALSA-controls added to be able to control the burst FIFO. Change-Id: Ieb8fdbd942c11251c6bbd368a434750a15f39512 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19822 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22Ux500 ASoC: Support configuration of I2S interface 1Philippe Langlais
Added support for configuring the second I2S interface. This is needed for FM-radio. Change-Id: I1a8cd908f66db45b6031d15d33779236a1a55344 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19821 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c
2012-05-22ASoC: cg29xx: The driver will not start a BTSCO stream.roger nilsson
If BTSCO is routed the driver will rely on the BT stack to setup the chip. Change-Id: Iea547d291c38d7a0784bbbd337d6095722c9ecfb Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19628 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASoC: The MSP DAI driver now implements set_sysclk.Philippe Langlais
The cg2900 machine driver does now set the sysclk frequency that drives the MSP. The bitclock will now be correct when the MSP is master. Change-Id: I1134d00cf4b5600997b683977076815fd864ca04 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19615 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Conflicts: sound/soc/ux500/ux500_msp_dai.h
2012-05-22Ux500 ASoC: Naming alignments and __devinit and __devexit fix.Philippe Langlais
Alignments of function names and filenames inside the Ux500 ASoC-driver. Fix to have __devinit and __devexit without section mismatch warnings. Change-Id: I367a18b846b54dbcea3fe8fc642779cdf4090278 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19303 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: sound/soc/codecs/Makefile sound/soc/codecs/ab8500_audio.c
2012-05-22Ux500 ASoC: Adaptations in the AB8500-parts for U8500.Philippe Langlais
Support added for more channels and more formats and configuration possibilities. Added controls in AB8500-codec for fsbitclk and master generator. Change-Id: I2ea60c54c3892340b4a0d1771a1efdb504cc2495 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18279 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500.c
2012-05-22Input: Add AB8500 AV Acc. Detection as platform drvPhilippe Langlais
Adds AV Accessory detection driver functionality as a platform driver. Driver allows detection of basic AV-Accessory connected to 3.5mm AV-Connector. Supported accessories include headphone, headset, video and carkit. Driver controls the audio-in/video-out switch based on the detected accessory type and notifies about button presses from basic headsets (No ECI Support). Accessory status and button presses are reported as standard input events, if AB8500 ASoC Machine driver is configured. For accessory properties reporting, ALSA JACK definitions (SND_JACK_*) are used to report the features supported by the attached accessory. Button presses are reported with KEY_MEDIA keycode. Depends on: http://gerrit.lud.stericsson.com/gerrit/16910 for GPIO framework update. ST-Ericsson ID: ER 275366 Signed-off-by: Rahul Venkatram <rahul.venkatram@stericsson.com> Change-Id: Ie1c68120fc718710ecac2d3dafe4f3e7b1a53ac1 Signed-off-by: Rahul Venkatram <rahul.venkatram@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16256 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c arch/arm/mach-ux500/board-mop500.c sound/soc/ux500/ux500_ab8500.c
2012-05-22sound: replace init_MUTEX() by sema_init() and fix MODULE_LICENSE for 2.6.38Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound: fix DAPM API change in 2.6.38Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound accessory: update taken from 2.6.35 GLKPhilippe Langlais
2012-05-22Ux500 ASoC: Fix IF delay issue with AV8100Mikko Sarmanne
Fixes distortion in the AV8100 playback caused by mismatching IF formats in TDM mode. The fix enables configuration of the IF delay on MSP side. Change-Id: Icf154041fb3032e9f285eb6e7d8fa673e1c7f024 Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13524 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASoC: Fix 7 and 8 channel playback for AV8100Mikko Sarmanne
Fixes an issue with 8 channel setup that caused the audio not being played from the last two speakers. Also adds support for 7.0 speaker configuration. Change-Id: Ia46d6ab8e2f218e7bda384f364f1b4ea88a053fc Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13415 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS
2012-05-22Enable headset mic on V2 HWMikko Sarmanne
Enables headset mic recording on V2 hardware by updating regulator handling in the AB8500 ASoC driver. ST-Ericsson ID: ER281760 Change-Id: I1047f66a4a1fd8177e408330a8c34c27022bbbfa Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12883 Tested-by: Josefin LOFSTEDT <josefin.lofstedt@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Update AB8500 ASoC mixer controlsMikko Sarmanne
Updates the naming of several AB8500 ALSA SoC mixer controls and adds new ones to support vibra functionality. Support is added for both PCM and PWM vibra modes. ST-Ericsson ID: WP271430 and WP271431 Change-Id: If87fc88bbbb4d27dedd17db3652b35fdb59d97cc Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12882 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Josefin LOFSTEDT <josefin.lofstedt@stericsson.com>
2012-05-22ASoC: Add support for AB8500 audioMikko Sarmanne
Adds ALSA SoC support for AB8500 audio codec for 2.6.35 kernel. Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Change-Id: Ibb8c0ae51ebd7c31615fd214292f3be2063a3dcf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12277 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22Ux500 ASoC: Change debug-level to avoid log-spam.Ola Lilja
pr_err was used where it should be pr_debug. Changed. ST-Ericsson ID: ER318557 Change-Id: I052d975da93c00807923ad4c57aa58c244bd357c Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11980 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS
2012-05-22mfd: Updating sound/soc/codecs/cg29xx.c for communityPhilippe Langlais
2012-05-22sound/soc: Add the AB5500 codec driver and correct the MSP internal clock ↵Xie Xiaolei
frequency. ST-Ericsson ID: WP 259100 Signed-off-by: Xie Xiaolei <xie.xiaolei@stericsson.com> Change-Id: Ia2ecfb380d9f59f0ef588888745269160e914d9e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11424 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Xie XIAOLEI <xie.xiaolei@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22msp: improved configuration for msp1Philippe Langlais
MSP1 Pins configured as GPIO to improve consumption during sleep mode GPIO[33] DIR=1, DATA=0 GPIO[36:34] DIR=0, PDIS=1 ST-Ericsson ID: ER 271120 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Change-Id: Ie394b8633a079974d9cc481b618eec1a8c005f03 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10365 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-msp.c arch/arm/mach-ux500/board-mop500.c arch/arm/mach-ux500/include/mach/msp.h drivers/misc/audio_io_dev/ste_audio_io_core.c drivers/misc/audio_io_dev/ste_audio_io_core.h drivers/misc/audio_io_dev/ste_audio_io_func.c drivers/misc/i2s/msp_i2s.c include/linux/mfd/ab8500.h
2012-05-22Ux500 ASoC: Support for MSP3.Ola Lilja
Added support for a fourth MSP-block. Change-Id: I48cc0d13597e5887d85ac8ab0acff9de29a934a8 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10298
2012-05-22Ux500 ASoC: Allow multiple prepares.Ola Lilja
Keeping track of configured status to handle multiple calls to the prepare-callback. Change-Id: I4e39aa535ac0fc4cb71f2aa19da5eb9672d82270 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10297
2012-05-22Ux500 ASoC: Fix for for audio capture.Ola Lilja
Flag added in private struct for audio capture. Change-Id: I8e5a93c386e0c22d3350018e79e786849cbed497 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10296
2012-05-22Ux500 ASoC: Multi-component support.Ola Lilja
The Ux500 driver is now rewritten to for multi-component support. This includes the Ux500 platform driver, the AV8100 codec-driver, the CG29xx codec-driver and the AB3550 codec-driver. There is now one common machine-driver for all codecs, and all three codecs can be activated indepentantly. Change-Id: I4c942b040306a1d6033ee4d80f9368917cb9b4d3 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9767 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10280
2012-05-22Ux500 ASoC: Use of cyclic DMA.Philippe Langlais
Platform driver rewritten to make use of cyclic DMA by sending a cyclic SG-list before playback is started. Updates to support cyclic DMA in MSP I2S-driver. ST-Ericsson ID: ER 278088 Change-Id: I9d143fc4704cff6f5415175ab14085b9ab98d6d4 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9353 Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: drivers/misc/i2s/i2s.c drivers/misc/i2s/i2s_test_protocol_driver.c drivers/misc/i2s/msp_i2s.c drivers/misc/i2s/msp_i2s.h include/linux/i2s/i2s.h
2012-05-22msp: remove usage of stm_gpio_altfuncenable/disablePhilippe Langlais
Usage of two GPIO configuration systems - stm_gpio_altfuncenable/disable is removed.
2012-05-22Ux500 ASoC: Support for multi-channel audio in AV8100 codec-driver.Ola Lilja
The HDMI ASoC-driver can now be configured with 1-8 channels. Configuration is also done by using the HDMI-standard for audio info-frames. Change-Id: Ibc84f2efeb748a1cace08d184dfd387f46c58d7c Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5915 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22sound: add asoc codec support for ux500 platformPhilippe Langlais
This patch is based on the following work: cg29xx ASoc: The codec driver for cg29xx does now use the MFD driver for that chip. ST-Ericsson ID: 259100 Author: Roger Nilsson <roger.xr.nilsson@stericsson.com> Ux500 ASoC: HDMI-driver in Ux500 ALSA SoC-driver. Author: Ola Lilja <ola.o.lilja@stericsson.com> Add a power management scheme for AB3550 and fix bugs that hinder simultaneous playback/capture. ST-Ericsson ID: WP 259100 Author: Xie Xiaolei <xie.xiaolei@stericsson.com> sound: asoc: Added codec and machine drivers for cg29xx. Author: Ola Lilja <ola.o.lilja@stericsson.com> SND: sound codec ab3550 abx500 updates Author: Mattias Wallin <mattias.wallin@stericsson.com> New ASoC driver for Fairbanks. Author: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Conflicts: arch/arm/mach-ux500/Kconfig-arch sound/soc/codecs/Makefile
2012-05-22sound: add asoc support for ux500 platformMian Yousaf Kaukab
This patch is based on the following work: cg29xx ASoc: The codec driver for cg29xx does now use the MFD driver for that chip. ST-Ericsson ID: 259 100 Author: Roger Nilsson <roger.xr.nilsson@stericsson.com> Ux500 ASoc: Added support for the DSP_A format. ST-Ericsson ID: 259 074 Author: Roger Nilsson <roger.xr.nilsson@stericsson.com> Ux500 ASoC: Added support for TDM. ST-Ericsson ID: 259 074 Author: Roger Nilsson <roger.xr.nilsson@stericsson.com> Ux500 ASoC: HDMI-driver in Ux500 ALSA SoC-driver. Author: Ola Lilja <ola.o.lilja@stericsson.com> Add a power management scheme for AB3550 and fix bugs that hinder simultaneous playback/capture. ST-Ericsson ID: WP 259100 Author: Xie Xiaolei <xie.xiaolei@stericsson.com> msp: add configuration param for MSP_IODLY ST-Ericsson ID: CR261462 Author: Rabin Vincent <rabin.vincent@stericsson.com> sound: asoc: Added codec and machine drivers for cg29xx. Author: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
2012-05-22sound: add alsa support for ab8500Mian Yousaf Kaukab
This patch is based on the following work: Add a power management scheme for AB3550 and fix bugs that hinder simultaneous playback/capture. ST-Ericsson ID: WP 259100 Author: Xie Xiaolei <xie.xiaolei@stericsson.com> msp: add configuration param for MSP_IODLY ST-Ericsson ID: CR261462 Author: Rabin Vincent <rabin.vincent@stericsson.com> ux500: switch to DMAENGINE-based DMA driver ST-Ericsson ID: AP259210 Author: Rabin Vincent <rabin.vincent@stericsson.com> ab8500-acodec: remove unused dma variables ST-Ericsson ID: AP259210 Author: Rabin Vincent <rabin.vincent@stericsson.com> updates for u8500 sound drivers for v2.6.33 Author: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
2012-05-22sound: add ab8500 audio codecMian Yousaf Kaukab
This patch is based on the following work: Add a power management scheme for AB3550 and fix bugs that hinder simultaneous playback/capture. ST-Ericsson ID: WP 259100 Author: Xie Xiaolei <xie.xiaolei@stericsson.com> msp: add configuration param for MSP_IODLY ST-Ericsson ID: CR261462 Author: Rabin Vincent <rabin.vincent@stericsson.com> ab8500-acodec: remove unused dma variables ST-Ericsson ID: AP259210 Author: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
2012-05-16Merge tag 'sound-3.4' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound fixes from Takashi Iwai: "A few last-minute regression fixes for 3.4 final kernel. All trivial, and Cc'ed to stable kernel." * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ASoC: wm8994: Fix AIF2ADC power down ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops ASoC: cs42l73: Sync digital mixer kcontrols to allow for 0dB
2012-05-15Merge tag 'asoc-3.4' of ↵Takashi Iwai
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Last minute fixes Some last minute fixes for ASoC. Small, focused changes to specific drivers.
2012-05-15ASoC: wm8994: Fix AIF2ADC power downMark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
2012-05-15ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptopsTakashi Iwai
BIOS on some HP laptops don't set the speaker-pins as fixed but expose as jacks, and this confuses the driver as if these pins are jack-detectable. As a result, the machine doesn't get sounds from speakers because the driver prepares the power-map update via jack unsol events which never come up in reality. The bug was introduced in some time in 3.2 for enabling the power-mapping feature. This patch fixes the problem by replacing the check of the persistent power-map bits with a proper is_jack_detectable() call. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43240 Cc: <stable@vger.kernel.org> [v3.2+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-11ASoC: cs42l73: Sync digital mixer kcontrols to allow for 0dBBrian Austin
Some of the Digital mixer kcontrol max values were off by 1 not allowing a max of 0dB. Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
2012-05-10Merge tag 'sound-3.4' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound fixes from Takashi Iwai: "Slightly more than expected as rc7, but all are reasonablly small fixes. A few additions of HD-audio fixup entries, a couple of other regression fixes including a revert, and a few other trivial oneliners." * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ASoC: sh: fix migor.c compilation ALSA: HDA: Lessen CPU usage when waiting for chip to respond Revert "ALSA: hda - Set codec to D3 forcibly even if not used" ALSA: hda/realtek - Call alc_auto_parse_customize_define() always after fixup ALSA: hdsp - Provide ioctl_compat ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 mobo ALSA: hda/realtek - Add a fixup for Acer Aspire 5739G ALSA: echoaudio: Remove incorrect part of assertion
2012-05-09Merge tag 'asoc-3.4' of ↵Takashi Iwai
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Build fix for SH in 3.4 An API update which wasn't sufficiently thorough in updating the tree...
2012-05-09ASoC: sh: fix migor.c compilationGuennadi Liakhovetski
Fix a recent compilation breakage, caused by a change in SH clock API. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-05-09ALSA: HDA: Lessen CPU usage when waiting for chip to respondDavid Henningsson
When an IRQ for some reason gets lost, we wait up to a second using udelay, which is CPU intensive. This patch improves the situation by waiting about 30 ms in the CPU intensive mode, then stepping down to using msleep(2) instead. In essence, we trade some granularity in exchange for less CPU consumption when the waiting time is a bit longer. As a result, PulseAudio should no longer be killed by the kernel for taking up to much RT-prio CPU time. At least not for *this* reason. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Tested-by: Arun Raghavan <arun.raghavan@collabora.co.uk> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-08Revert "ALSA: hda - Set codec to D3 forcibly even if not used"Takashi Iwai
This reverts commit 785f857d1cb0856b612b46a0545b74aa2596e44a. The commit causes a problem with the wrong D3 state after suspend because the call of hda_set_power_state() involves with the power-up sequence, which changes the power_count, and this confuses the resume sequence that checks the power_count as well. Originally, this go-to-D3 sequence should be a simple task without the power-up sequence. But, it'd need some proper sanity checks in the case of power-saved state, so it's not too easy to write now in the 3.4-rc cycle. In short, the safest option now is to revert this affecting commit. Of course, we need to clean up and robustify the power-saving code better for 3.5 kernel. Reported-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-08ALSA: hda/realtek - Call alc_auto_parse_customize_define() always after fixupTakashi Iwai
The call for alc_auto_parse_customize_define() must be done after the fixup pre-probe initialization. Otherwise SKU_IGNORE fixup won't work properly (e.g. HP RP5800 with ALC662 codec). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-08ALSA: hdsp - Provide ioctl_compatAndre Schramm
snd_hdsp uses its own ioctls to acquire config- and status information. Expose the corresponding ioctl handler via ioctl_compat, so that 32bit applications can use it on 64bit kernels. Signed-off-by: Andre Schramm <andre.schramm@iosono-sound.com> Reviewed-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-07ALSA: hda/realtek - Add missing CD-input pin for MSI-7350 moboTakashi Iwai
Reported-by: Philipp Matthias Hahn <pmhahn@pmhahn.de> Cc: <stable@kernel.org> [v3.3+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-07ALSA: hda/realtek - Add a fixup for Acer Aspire 5739GTakashi Iwai
Acer Aspire 5739G requires the same fix-up for 4930G to support the surround / bass speakers. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43180 Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-06ALSA: echoaudio: Remove incorrect part of assertionMark Hills
This assertion seems to imply that chip->dsp_code_to_load is a pointer. It's actually an integer handle on the actual firmware, and 0 has no special meaning. The assertion prevents initialisation of a Darla20 card, but would also affect other models. It seems it was introduced in commit dd7b254d. ALSA sound/pci/echoaudio/echoaudio.c:2061 Echoaudio driver starting... ALSA sound/pci/echoaudio/echoaudio.c:1969 chip=ebe4e000 ALSA sound/pci/echoaudio/echoaudio.c:2007 pci=ed568000 irq=19 subdev=0010 Init hardware... ALSA sound/pci/echoaudio/darla20_dsp.c:36 init_hw() - Darla20 ------------[ cut here ]------------ WARNING: at sound/pci/echoaudio/echoaudio_dsp.c:478 init_hw+0x1d1/0x86c [snd_darla20]() Hardware name: Dell DM051 BUG? (!chip->dsp_code_to_load || !chip->comm_page) Signed-off-by: Mark Hills <mark@pogo.org.uk> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-05-05Merge tag 'sound-3.4' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound sound fixes from Takashi Iwai: "As good as nothing exciting here; just a few trivial fixes for various ASoC stuff." * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ASoC: omap-pcm: Free dma buffers in case of error. ASoC: s3c2412-i2s: Fix dai registration ASoC: wm8350: Don't use locally allocated codec struct ASoC: tlv312aic23: unbreak resume ASoC: bf5xx-ssm2602: Set DAI format ASoC: core: check of_property_count_strings failure ASoC: dt: sgtl5000.txt: Add description for 'reg' field ASoC: wm_hubs: Make sure we don't disable differential line outputs
2012-05-05Merge branch 'fix/asoc' into for-linusTakashi Iwai
2012-05-05Merge branch 'for-3.4' of ↵Takashi Iwai
git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc into fix/asoc
2012-05-05Merge tag 'asoc-3.4' of ↵Takashi Iwai
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Updates for 3.4 Nothing terribly exciting here, a bunch of small and simple fixes scattered around the place.