aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2011-04-29Ux500 ASoC: cg29xx: The I2S PCM interface must not be configuredroger nilsson
It is not possible to configure the I2S PCM interface after the SCO link has been setup by the BT stack. ST-Ericsson ID: 337 138 Change-Id: Icc48f76c0d41665988709e4f09856e081c654e8a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21955 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com> Tested-by: Johan BOHLIN <johan.bohlin@stericsson.com>
2011-04-28Ux500 ASoC: Move enabling of regulatorsOla Lilja
Regulators is no longer enabled during machine-driver init, but rather done before playback, and disabled after playback is finished. Change-Id: I5f6bfc3dd60b139ce4e786160104e4daaa4040fc Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21788 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-04-27Ux500 ASoC: Turn off AB8500 when inactiveu8500-android-2.3_v0.65Ola Lilja
Using reference counter to be able to turn of AB8500 when none of playback, capture or vibra is active. Change-Id: If295d40a31e0f7529c2cd9573052ce798fdbe465 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21661 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-04-21Ux500 ASoC: Added reference counter for sysclku5500-android-2.3_v0.51Ola Lilja
A reference counter is added for enable/disable of sysclk to be able to handle playback and capture combinations. Change-Id: Ia28d3b94f3b54561cc990aa51fa5a0bf99319656 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21385 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-04-21Ux500 ASoC: Take sysclk during audio-playbackOla Lilja
Change-Id: Iad133756a33d6f15f78806a29d9d3653e918578f Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21325 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-04-19Ux500 ASoC: Dynamical mapping of AD to slot settingsOla Lilja
AB8500 codec-driver now exposes controls for manually setting which AD output should be fed into what slot on the digital interface. Change-Id: I51a32b15bc5a948c24c36029aa7ed29860903503 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21158 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-04-19[ANDROID] staging: android: PWM-vibra for ASoCOla Lilja
PWM-vibra modified to use AB8500 ASoC-driver instead of audio_io-driver. ST-Ericsson ID: 273228 Change-Id: I44e36e5d78442df1c4ee5383e339d0fa6e64d367 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21099 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-04-19Ux500 ASoC: Fix build-error for AV8100 codec-driverOla Lilja
Change-Id: I4e4d016854b875580a8a7ec4f5243dc8f11cfbe3 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21096 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-04-07Ux500 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>
2011-04-05Ux500 ASoC: Add support for burst-modeu8500-android-2.3_v0.52Ola 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>
2011-04-05Ux500 ASoC: Support configuration of I2S interface 1Ola Lilja
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>
2011-04-01ASoC: 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>
2011-04-01Ux500 ASoC: The MSP DAI driver now implements set_sysclk.roger nilsson
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>
2011-03-30Ux500 ASoC: Naming alignments and __devinit and __devexit fix.Ola Lilja
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>
2011-03-15Ux500 ASoC: Adaptations in the AB8500-parts for U8500.Ola Lilja
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>
2011-03-07Input: Add AB8500 AV Acc. Detection as platform drvRahul Venkatram
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>
2011-02-24ux500: Move home-made debug-leveling to audiou8500-android-2.3_v0.21Jonas Aaberg
Since audio is the only one using this, let's put it among the audio stuff. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I2b0024fb028369453610e27dc07b89631a789d21 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16848 Tested-by: Rishi KHARE <rishi.khare@stericsson.com> Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com>
2011-02-18MFD: ab8500-gpadc: New ab8500_gpadc APIDaniel Willerud
Added ab8500_gpadc_get() API, moved gpadc and calibration structs and channel enums. Clients utilizing the new API. ST-Ericsson ID: ER281133 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Change-Id: Ief442b47ed3315d62a8b887d49bf03f9b6502e3b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16125 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-02-07misc: ab8500_gpadc: Use calibrated ADC values from OTPJohan Palsson
Three ADC channels are calibrated in factory and the parameters are stored in OTP. These parameters are now read and used in the GPADC driver. Also the function ab8500_gpadc_convert now returns a voltage instead of a raw AD-value ST-Ericsson ID: WP322611 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I600faf8b30122a6dd95048c1059b33623f37aeeb Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14191 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-02-03Ux500 ASoC: Update 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 Signed-off-by: Mikko Sarmanne <mikko.sarmanne@symbio.com> Change-Id: Ide9b30fb555810d0aad481faa07fd8cf65a4e2b2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14061 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2011-01-27Ux500 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>
2011-01-25Ux500 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
2011-01-12ASoC: 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>
2011-01-10Ux500 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
2011-01-07mfd: Updating CG2900 driver for communityu8500-android-2.2.x_v1.13Par-Gunnar Hjalmdahl
This patch modifies the CG2900 driver in order to fulfil comments received from the Kernel community. It contains a completely new architecture and way of enabling CG2900 devices. It also moves GPIO settings to board file. ST-Ericsson Change-ID: AP277631 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10019 Change-Id: Icde8205850310fe9a6f0d0b77b9b48dd6748dc33 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9796
2010-12-07Ux500 ASoC: Support for MSP3.Ola Lilja
Added support for a fourth MSP-block. Change-Id: I1fa64a3380cee79e6f9813cfa9840625349ee455 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9990 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2010-12-07Ux500 ASoC: Allow multiple prepares.Ola Lilja
Keeping track of configured status to handle multiple calls to the prepare-callback. Change-Id: I90c9fe6895c746795223e0b2829356c8d5329ebe Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9989 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2010-12-07Ux500 ASoC: Fix for for audio capture.Ola Lilja
Flag added in private struct for audio capture. Change-Id: Icebb100d763e3ebf2448647ad5c6aed35a4e9853 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9988 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2010-12-03msp: improved configuration for msp1Shreshtha Kumar Sahu
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 Change-Id: Ia5f474a828c0d61c8a214b3f05a9c0ad3eda0e50 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9685 Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2010-12-02Ux500 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: Ibe7e728348139d8409169a14c7a73a77f40f05fe Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9767
2010-12-01ASoC: Updates from linux-next 20101004.Ola Lilja
This patch updates the kernel/sound/soc/ folder and corresponding h-files in kernel/include/sound/ from the linux-next-branch next-20101004. The last commit that is: commit 3f6cf489ddf5f5e77432df5edcf1e4ceefd88483 Merge: 4dfbd94 9599bc4 Author: Stephen Rothwell <sfr@canb.auug.org.au> Date: Wed Oct 6 14:27:37 2010 +1100 Merge remote branch 'bkl-llseek/llseek' Conflicts: drivers/infiniband/hw/cxgb4/device.c When the kernel corresponds to linux-next 20101004 this patch can be removed! The following files are modified in this patch: modified: include/sound/soc-dai.h modified: include/sound/soc-dapm.h modified: include/sound/soc.h modified: sound/soc/Kconfig modified: sound/soc/Makefile modified: sound/soc/atmel/atmel-pcm.c modified: sound/soc/atmel/atmel-pcm.h modified: sound/soc/atmel/atmel_ssc_dai.c modified: sound/soc/atmel/atmel_ssc_dai.h modified: sound/soc/atmel/playpaq_wm8510.c modified: sound/soc/atmel/sam9g20_wm8731.c modified: sound/soc/atmel/snd-soc-afeb9260.c modified: sound/soc/au1x/db1200.c modified: sound/soc/au1x/dbdma2.c modified: sound/soc/au1x/psc-ac97.c modified: sound/soc/au1x/psc-i2s.c modified: sound/soc/au1x/psc.h modified: sound/soc/blackfin/Kconfig modified: sound/soc/blackfin/bf5xx-ac97-pcm.c modified: sound/soc/blackfin/bf5xx-ac97-pcm.h modified: sound/soc/blackfin/bf5xx-ac97.c modified: sound/soc/blackfin/bf5xx-ac97.h modified: sound/soc/blackfin/bf5xx-ad1836.c modified: sound/soc/blackfin/bf5xx-ad193x.c modified: sound/soc/blackfin/bf5xx-ad1980.c modified: sound/soc/blackfin/bf5xx-ad73311.c modified: sound/soc/blackfin/bf5xx-i2s-pcm.c modified: sound/soc/blackfin/bf5xx-i2s-pcm.h modified: sound/soc/blackfin/bf5xx-i2s.c modified: sound/soc/blackfin/bf5xx-ssm2602.c modified: sound/soc/blackfin/bf5xx-tdm-pcm.c modified: sound/soc/blackfin/bf5xx-tdm-pcm.h modified: sound/soc/blackfin/bf5xx-tdm.c modified: sound/soc/blackfin/bf5xx-tdm.h new file: sound/soc/codecs/88pm860x-codec.c new file: sound/soc/codecs/88pm860x-codec.h modified: sound/soc/codecs/Kconfig modified: sound/soc/codecs/Makefile modified: sound/soc/codecs/ac97.c deleted: sound/soc/codecs/ac97.h modified: sound/soc/codecs/ad1836.c modified: sound/soc/codecs/ad1836.h modified: sound/soc/codecs/ad193x.c modified: sound/soc/codecs/ad193x.h modified: sound/soc/codecs/ad1980.c modified: sound/soc/codecs/ad1980.h modified: sound/soc/codecs/ad73311.c modified: sound/soc/codecs/ad73311.h modified: sound/soc/codecs/ads117x.c modified: sound/soc/codecs/ads117x.h modified: sound/soc/codecs/ak4104.c deleted: sound/soc/codecs/ak4104.h modified: sound/soc/codecs/ak4535.c modified: sound/soc/codecs/ak4535.h modified: sound/soc/codecs/ak4642.c deleted: sound/soc/codecs/ak4642.h modified: sound/soc/codecs/ak4671.c modified: sound/soc/codecs/ak4671.h modified: sound/soc/codecs/cq93vc.c deleted: sound/soc/codecs/cq93vc.h modified: sound/soc/codecs/cs4270.c deleted: sound/soc/codecs/cs4270.h new file: sound/soc/codecs/cs42l51.c new file: sound/soc/codecs/cs42l51.h modified: sound/soc/codecs/cx20442.c modified: sound/soc/codecs/cx20442.h modified: sound/soc/codecs/da7210.c deleted: sound/soc/codecs/da7210.h new file: sound/soc/codecs/jz4740.c modified: sound/soc/codecs/pcm3008.c modified: sound/soc/codecs/pcm3008.h modified: sound/soc/codecs/spdif_transciever.c deleted: sound/soc/codecs/spdif_transciever.h modified: sound/soc/codecs/ssm2602.c modified: sound/soc/codecs/ssm2602.h modified: sound/soc/codecs/stac9766.c modified: sound/soc/codecs/stac9766.h modified: sound/soc/codecs/tlv320aic23.c modified: sound/soc/codecs/tlv320aic23.h modified: sound/soc/codecs/tlv320aic26.c modified: sound/soc/codecs/tlv320aic26.h modified: sound/soc/codecs/tlv320aic3x.c modified: sound/soc/codecs/tlv320aic3x.h modified: sound/soc/codecs/tlv320dac33.c modified: sound/soc/codecs/tlv320dac33.h modified: sound/soc/codecs/twl4030.c deleted: sound/soc/codecs/twl4030.h modified: sound/soc/codecs/twl6040.c modified: sound/soc/codecs/twl6040.h modified: sound/soc/codecs/uda134x.c modified: sound/soc/codecs/uda134x.h modified: sound/soc/codecs/uda1380.c modified: sound/soc/codecs/uda1380.h new file: sound/soc/codecs/wl1273.c new file: sound/soc/codecs/wl1273.h modified: sound/soc/codecs/wm2000.c modified: sound/soc/codecs/wm2000.h modified: sound/soc/codecs/wm8350.c modified: sound/soc/codecs/wm8350.h modified: sound/soc/codecs/wm8400.c modified: sound/soc/codecs/wm8400.h modified: sound/soc/codecs/wm8510.c modified: sound/soc/codecs/wm8510.h modified: sound/soc/codecs/wm8523.c modified: sound/soc/codecs/wm8523.h modified: sound/soc/codecs/wm8580.c modified: sound/soc/codecs/wm8580.h modified: sound/soc/codecs/wm8711.c modified: sound/soc/codecs/wm8711.h modified: sound/soc/codecs/wm8727.c deleted: sound/soc/codecs/wm8727.h modified: sound/soc/codecs/wm8728.c modified: sound/soc/codecs/wm8728.h modified: sound/soc/codecs/wm8731.c modified: sound/soc/codecs/wm8731.h new file: sound/soc/codecs/wm8741.c new file: sound/soc/codecs/wm8741.h modified: sound/soc/codecs/wm8750.c modified: sound/soc/codecs/wm8750.h modified: sound/soc/codecs/wm8753.c modified: sound/soc/codecs/wm8753.h modified: sound/soc/codecs/wm8776.c modified: sound/soc/codecs/wm8776.h new file: sound/soc/codecs/wm8804.c new file: sound/soc/codecs/wm8804.h modified: sound/soc/codecs/wm8900.c modified: sound/soc/codecs/wm8900.h modified: sound/soc/codecs/wm8903.c modified: sound/soc/codecs/wm8903.h modified: sound/soc/codecs/wm8904.c modified: sound/soc/codecs/wm8904.h modified: sound/soc/codecs/wm8940.c modified: sound/soc/codecs/wm8940.h modified: sound/soc/codecs/wm8955.c modified: sound/soc/codecs/wm8955.h modified: sound/soc/codecs/wm8960.c modified: sound/soc/codecs/wm8960.h modified: sound/soc/codecs/wm8961.c modified: sound/soc/codecs/wm8961.h new file: sound/soc/codecs/wm8962-tables.c new file: sound/soc/codecs/wm8962.c new file: sound/soc/codecs/wm8962.h modified: sound/soc/codecs/wm8971.c modified: sound/soc/codecs/wm8971.h modified: sound/soc/codecs/wm8974.c modified: sound/soc/codecs/wm8974.h modified: sound/soc/codecs/wm8978.c modified: sound/soc/codecs/wm8978.h new file: sound/soc/codecs/wm8985.c new file: sound/soc/codecs/wm8985.h modified: sound/soc/codecs/wm8988.c modified: sound/soc/codecs/wm8988.h modified: sound/soc/codecs/wm8990.c modified: sound/soc/codecs/wm8990.h modified: sound/soc/codecs/wm8993.c modified: sound/soc/codecs/wm8993.h modified: sound/soc/codecs/wm8994.c modified: sound/soc/codecs/wm8994.h modified: sound/soc/codecs/wm9081.c modified: sound/soc/codecs/wm9081.h modified: sound/soc/codecs/wm9090.c modified: sound/soc/codecs/wm9090.h modified: sound/soc/codecs/wm9705.c modified: sound/soc/codecs/wm9705.h modified: sound/soc/codecs/wm9712.c modified: sound/soc/codecs/wm9712.h modified: sound/soc/codecs/wm9713.c modified: sound/soc/codecs/wm9713.h modified: sound/soc/codecs/wm_hubs.c modified: sound/soc/davinci/davinci-evm.c modified: sound/soc/davinci/davinci-i2s.c modified: sound/soc/davinci/davinci-i2s.h modified: sound/soc/davinci/davinci-mcasp.c modified: sound/soc/davinci/davinci-mcasp.h modified: sound/soc/davinci/davinci-pcm.c modified: sound/soc/davinci/davinci-pcm.h modified: sound/soc/davinci/davinci-sffsdr.c modified: sound/soc/davinci/davinci-vcif.c deleted: sound/soc/davinci/davinci-vcif.h new file: sound/soc/ep93xx/Kconfig new file: sound/soc/ep93xx/Makefile new file: sound/soc/ep93xx/ep93xx-i2s.c new file: sound/soc/ep93xx/ep93xx-pcm.c new file: sound/soc/ep93xx/ep93xx-pcm.h new file: sound/soc/ep93xx/snappercl15.c modified: sound/soc/fsl/Kconfig modified: sound/soc/fsl/Makefile modified: sound/soc/fsl/efika-audio-fabric.c modified: sound/soc/fsl/fsl_dma.c modified: sound/soc/fsl/fsl_dma.h modified: sound/soc/fsl/fsl_ssi.c modified: sound/soc/fsl/fsl_ssi.h modified: sound/soc/fsl/mpc5200_dma.c modified: sound/soc/fsl/mpc5200_dma.h modified: sound/soc/fsl/mpc5200_psc_ac97.c modified: sound/soc/fsl/mpc5200_psc_ac97.h modified: sound/soc/fsl/mpc5200_psc_i2s.c deleted: sound/soc/fsl/mpc5200_psc_i2s.h modified: sound/soc/fsl/mpc8610_hpcd.c new file: sound/soc/fsl/p1022_ds.c modified: sound/soc/fsl/pcm030-audio-fabric.c deleted: sound/soc/fsl/soc-of-simple.c modified: sound/soc/imx/Kconfig modified: sound/soc/imx/Makefile new file: sound/soc/imx/eukrea-tlv320.c modified: sound/soc/imx/imx-pcm-dma-mx2.c modified: sound/soc/imx/imx-pcm-fiq.c modified: sound/soc/imx/imx-ssi.c modified: sound/soc/imx/imx-ssi.h modified: sound/soc/imx/phycore-ac97.c modified: sound/soc/imx/wm1133-ev1.c new file: sound/soc/jz4740/Kconfig new file: sound/soc/jz4740/Makefile new file: sound/soc/jz4740/jz4740-i2s.c copied: sound/soc/blackfin/bf5xx-i2s.h -> sound/soc/jz4740/jz4740-i2s.h new file: sound/soc/jz4740/jz4740-pcm.c renamed: sound/soc/blackfin/bf5xx-i2s.h -> sound/soc/jz4740/jz4740-pcm.h new file: sound/soc/jz4740/qi_lb60.c new file: sound/soc/kirkwood/Kconfig new file: sound/soc/kirkwood/Makefile new file: sound/soc/kirkwood/kirkwood-dma.c new file: sound/soc/kirkwood/kirkwood-i2s.c new file: sound/soc/kirkwood/kirkwood-openrd.c new file: sound/soc/kirkwood/kirkwood.h new file: sound/soc/nuc900/Kconfig new file: sound/soc/nuc900/Makefile new file: sound/soc/nuc900/nuc900-ac97.c new file: sound/soc/nuc900/nuc900-audio.c new file: sound/soc/nuc900/nuc900-audio.h new file: sound/soc/nuc900/nuc900-pcm.c modified: sound/soc/omap/am3517evm.c modified: sound/soc/omap/ams-delta.c modified: sound/soc/omap/igep0020.c modified: sound/soc/omap/mcpdm.c modified: sound/soc/omap/mcpdm.h modified: sound/soc/omap/n810.c modified: sound/soc/omap/omap-mcbsp.c modified: sound/soc/omap/omap-mcbsp.h modified: sound/soc/omap/omap-mcpdm.c deleted: sound/soc/omap/omap-mcpdm.h modified: sound/soc/omap/omap-pcm.c modified: sound/soc/omap/omap-pcm.h modified: sound/soc/omap/omap2evm.c modified: sound/soc/omap/omap3beagle.c modified: sound/soc/omap/omap3evm.c modified: sound/soc/omap/omap3pandora.c modified: sound/soc/omap/osk5912.c modified: sound/soc/omap/overo.c modified: sound/soc/omap/rx51.c modified: sound/soc/omap/sdp3430.c modified: sound/soc/omap/sdp4430.c modified: sound/soc/omap/zoom2.c modified: sound/soc/pxa/Kconfig modified: sound/soc/pxa/Makefile modified: sound/soc/pxa/corgi.c modified: sound/soc/pxa/e740_wm9705.c modified: sound/soc/pxa/e750_wm9705.c modified: sound/soc/pxa/e800_wm9712.c modified: sound/soc/pxa/em-x270.c modified: sound/soc/pxa/imote2.c modified: sound/soc/pxa/magician.c modified: sound/soc/pxa/mioa701_wm9713.c modified: sound/soc/pxa/palm27x.c modified: sound/soc/pxa/poodle.c modified: sound/soc/pxa/pxa-ssp.c modified: sound/soc/pxa/pxa-ssp.h modified: sound/soc/pxa/pxa2xx-ac97.c modified: sound/soc/pxa/pxa2xx-ac97.h modified: sound/soc/pxa/pxa2xx-i2s.c modified: sound/soc/pxa/pxa2xx-i2s.h modified: sound/soc/pxa/pxa2xx-pcm.c deleted: sound/soc/pxa/pxa2xx-pcm.h modified: sound/soc/pxa/raumfeld.c new file: sound/soc/pxa/saarb.c modified: sound/soc/pxa/spitz.c new file: sound/soc/pxa/tavorevb3.c modified: sound/soc/pxa/tosa.c modified: sound/soc/pxa/z2.c modified: sound/soc/pxa/zylonite.c modified: sound/soc/s3c24xx/Kconfig modified: sound/soc/s3c24xx/Makefile new file: sound/soc/s3c24xx/aquila_wm8994.c new file: sound/soc/s3c24xx/goni_wm8994.c modified: sound/soc/s3c24xx/jive_wm8750.c modified: sound/soc/s3c24xx/ln2440sbc_alc650.c modified: sound/soc/s3c24xx/neo1973_gta02_wm8753.c modified: sound/soc/s3c24xx/neo1973_wm8753.c new file: sound/soc/s3c24xx/rx1950_uda1380.c modified: sound/soc/s3c24xx/s3c-ac97.c modified: sound/soc/s3c24xx/s3c-ac97.h modified: sound/soc/s3c24xx/s3c-dma.c modified: sound/soc/s3c24xx/s3c-dma.h modified: sound/soc/s3c24xx/s3c-i2s-v2.c modified: sound/soc/s3c24xx/s3c-i2s-v2.h modified: sound/soc/s3c24xx/s3c-pcm.c modified: sound/soc/s3c24xx/s3c-pcm.h modified: sound/soc/s3c24xx/s3c2412-i2s.c modified: sound/soc/s3c24xx/s3c2412-i2s.h modified: sound/soc/s3c24xx/s3c24xx-i2s.c modified: sound/soc/s3c24xx/s3c24xx-i2s.h modified: sound/soc/s3c24xx/s3c24xx_simtec.c modified: sound/soc/s3c24xx/s3c24xx_simtec.h modified: sound/soc/s3c24xx/s3c24xx_simtec_hermes.c modified: sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c modified: sound/soc/s3c24xx/s3c24xx_uda134x.c modified: sound/soc/s3c24xx/s3c64xx-i2s-v4.c modified: sound/soc/s3c24xx/s3c64xx-i2s.c modified: sound/soc/s3c24xx/s3c64xx-i2s.h new file: sound/soc/s3c24xx/smartq_wm8987.c modified: sound/soc/s3c24xx/smdk2443_wm9710.c modified: sound/soc/s3c24xx/smdk64xx_wm8580.c modified: sound/soc/s3c24xx/smdk_wm9713.c modified: sound/soc/s6000/s6000-i2s.c modified: sound/soc/s6000/s6000-i2s.h modified: sound/soc/s6000/s6000-pcm.c modified: sound/soc/s6000/s6000-pcm.h modified: sound/soc/s6000/s6105-ipcam.c modified: sound/soc/sh/Kconfig modified: sound/soc/sh/Makefile modified: sound/soc/sh/dma-sh7760.c modified: sound/soc/sh/fsi-ak4642.c modified: sound/soc/sh/fsi-da7210.c new file: sound/soc/sh/fsi-hdmi.c modified: sound/soc/sh/fsi.c modified: sound/soc/sh/hac.c modified: sound/soc/sh/migor.c modified: sound/soc/sh/sh7760-ac97.c modified: sound/soc/sh/siu.h modified: sound/soc/sh/siu_dai.c modified: sound/soc/sh/siu_pcm.c modified: sound/soc/sh/ssi.c modified: sound/soc/soc-cache.c modified: sound/soc/soc-core.c modified: sound/soc/soc-dapm.c modified: sound/soc/soc-jack.c modified: sound/soc/txx9/txx9aclc-ac97.c modified: sound/soc/txx9/txx9aclc-generic.c modified: sound/soc/txx9/txx9aclc.c modified: sound/soc/txx9/txx9aclc.h Change-Id: I234282b15e805203f8fad93b3b5f5a0222631cb1 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Change-Id: Ie2a320568cc71f96b3f0c13880c1b064c6dc1106 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9692
2010-11-29Ux500 ASoC: Use of cyclic DMA.Ola Lilja
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>
2010-11-19msp: remove usage of stm_gpio_altfuncenable/disableShreshtha Kumar Sahu
Usage of two GPIO configuration systems - stm_gpio_altfuncenable/disable is removed. ST-Ericsson ID: ER 276020 Change-Id: I83c742b6809e59b76d64ad946a67d9668fe745d3 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8536 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2010-11-10Ux500 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>
2010-10-23sound: add asoc codec 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: 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>
2010-10-23sound: 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>
2010-10-23sound: 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>
2010-10-23sound: 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>
2010-10-04ALSA: hda - Fix beep frequency on IDT 92HD73xx and 92HD71Bxx codecsDaniel J Blueman
commit 1b0e372d7b52c9fc96348779015a6db7df7f286e upstream. Fix HDA beep frequency on IDT 92HD73xx and 92HD71Bxx codecs. These codecs use the standard beep frequency calculation although the datasheet says it's linear frequency. Other IDT/STAC codecs might have the same problem. They should be fixed individually later. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: أحمد المحمودي <aelmahmoudy@sabily.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: HDA: Enable internal speaker on Dell M101zDavid Henningsson
commit 145a902bfeb1f89a41165bd2d1e633ce070bcb73 upstream. BugLink: http://launchpad.net/bugs/640254 In some cases a magic processing coefficient is needed to enable the internal speaker on Dell M101z. According to Realtek, this processing coefficient is only present on ALC269vb. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: hda - patch_nvhdmi.c: Add missing codec IDs, unify namesStephen Warren
commit 9cf2657d05f9f9e04c3e113d68bf7cef5a942070 upstream. * Add missing codec IDs. * Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion. * Reformat codec ID table so it's easier to read, for me at least. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: usb-audio: Assume first control interface is for audioDaniel Mack
commit 7b6717e144de6592e614fd7fc3b914b6bf686a9d upstream. For devices with more than one control interface, let's assume the first one contains the audio controls. Unfortunately, there is no field in any of the descriptors to tell us whether a control interface is for audio or MIDI controls, so a better check is not easy to implement. On a composite device with audio and MIDI functions, for example, the code currently overwrites chip->ctrl_intf, causing operations on the control interface to fail if they are issued after the device probe. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: hda - Fix wrong HP pin detection in snd_hda_parse_pin_def_config()Takashi Iwai
commit 122661b67899980f1372812d907e73ebcfb3d037 upstream. snd_hda_parse_pin_def_config() has some workaround for re-assigning some pins declared as headphones to line-outs. This didn't work properly for some cases because it used memmove() stupidly wrongly. Reference: Novell bnc#637263 https://bugzilla.novell.com/show_bug.cgi?id=637263 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: hda - Add errata initverb sequence for CS42xx codecsBrian Austin
commit a769cbcf60cee51f4431c0938acd39e7e5b76b8d upstream. Add init verb sequence for errata ER880C3 http://www.cirrus.com/en/pubs/errata/ER880C3.pdf Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: hda - Add quirk for Lenovo T400sTakashi Iwai
commit 4d155641c81203440da64c4633b4efaab75f63b3 upstream. Lenovo T400s requires the quirk to make automatic HP/mic switching working. Reported-by: Frank Becker <fb@alien8.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: usb - Release capture substream URBs properlyTakashi Iwai
commit 76195fb096ca6db2f8bbaffb96e3025aaf1649a0 upstream. Due to the wrong "return" in the loop, a capture substream won't be released at disconnection properly if the device is capture only and has no playback substream. This caused Oops occasionally at the device reconnection. Reported-by: Kim Minhyoung <minhyoung.kim@lge.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: seq/oss - Fix double-free at error path of snd_seq_oss_open()Takashi Iwai
commit 27f7ad53829f79e799a253285318bff79ece15bd upstream. The error handling in snd_seq_oss_open() has several bad codes that do dereferecing released pointers and double-free of kmalloc'ed data. The object dp is release in free_devinfo() that is called via private_free callback. The rest shouldn't touch this object any more. The patch changes delete_port() to call kfree() in any case, and gets rid of unnecessary calls of destructors in snd_seq_oss_open(). Fixes CVE-2010-3080. Reported-and-tested-by: Tavis Ormandy <taviso@cmpxchg8b.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: virtuoso: fix setting of Xonar DS line-in/mic-in controlsClemens Ladisch
commit fe6ce80ae25953d95ebaf9bce27b585218cda25c upstream. The Line and Mic inputs cannot be used at the same time, so the driver has to automatically disable one of them if both are set. However, it forgot to notify userspace about this change, so the mixer state would be inconsistent. To fix this, check if the other control gets muted, and send a notification event in this case. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reported-and-tested-by: Nathan Schagen Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: virtuoso: work around missing reset in the Xonar DS Windows driverClemens Ladisch
commit 4c25b93223340deff73381cc47f9244fb379a74d upstream. For the WM8776 chip, this driver uses a different sample format and more features than the Windows driver. When rebooting from Linux into Windows, the latter driver does not reset the chip but assumes all its registers have their default settings, so we get garbled sound or, if the output happened to be muted before rebooting, no sound. To make that driver happy, hook our driver's cleanup function into the shutdown notifier and ensure that the chip gets reset. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reported-and-tested-by: Nathan Schagen Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-04ALSA: usb-audio: fix detection of vendor-specific device protocol settingsClemens Ladisch
commit a2acad8298a42b7be684a32fafaf83332bba9c2b upstream. The Audio Class v2 support code in 2.6.35 added checks for the bInterfaceProtocol field. However, there are devices (usually those detected by vendor-specific quirks) that do not have one of the predefined values in this field, which made the driver reject them. To fix this regression, restore the old behaviour, i.e., assume that a device with an unknown bInterfaceProtocol field (other than UAC_VERSION_2) has more or less UAC-v1-compatible descriptors. [compile warning fixes by tiwai] Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>