summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2010-05-26ccwmx51: Compare with FSL official L2.6.31_10.04.01 source treeAlejandro Gonzalez
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122462 mxs: support mmapped buffer for 24/32 bit spdifAlan Tull
Due to an apparent hw bug we have to shift data in the audio buffer by one byte to play out S/PDIF. ENGR00122025 and ENGR00122231 are a workaround for playback with non-mmapped buffers. This patch is the workaround for mmapped buffers. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117344 fix mono record during stereo playbackAlan Tull
Starting a mono record stream and doing stereo playback resulted in wrong sample rate. Also starting stereo playback then doing mono record. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122274 mx23: spdif playbackAlan Tull
Support S/PDIF playback on the mx23evk. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122231 mxs: support read in mxs_pcm_copy to fix recordAlan Tull
Record was broken by the patch that fixed 24 bit S/PDIF. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122136 MX28 ALSA: Fail to playback wavfiles with sample rate over 48 khzLionel Xu
To resolve the problem of playing back wavfile with sample rate over 48khz. Signed-off-by: Lionel Xu <r63889@freescale.com> (cherry picked from commit f1af83a27357d7da1a89d79f8ed2d74fbfb7dc34) Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122025 mx28: support 24, 32 bit spdifAlan Tull
The data in memory is 24 bit little endian in a 32 bit word. We need to shift the data in memory out one byte to get the proper alignment. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117751 MX28 ALSA: Support audio record through saifLionel Xu
Support audio record through saif, support playback/record simultaneously Signed-off-by: Lionel Xu <r63889@freescale.com> (cherry picked from commit 18627873f6332e03ebd03691f51937559bbdf03d) Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121831:iMX23 ALSA Fix Audio Driver QualityJeremy.Yao
To fix 'pop' sound for playback and noise for mic record Signed-off-by: Jeremy Yao <r65161@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121604: iMX23 Support AudioJeremy.Yao
Add Support for ADC/DAC Audio Signed-off-by: Jeremy Yao <r65161@freescale.com> (cherry picked from commit 172fc1bb738b2c83979ced6e918635d055529b43) Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117752 MX28: Support S/PDIF audio playbackAlan Tull
Support S/PDIF audio playback Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117750 MX28 ALSA:Support audio playback through SAIFLionel Xu
Porting from mxc sound asoc driver, to support audio playback on mx28 through saif Signed-off-by: Lionel Xu <r63889@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121454 SSI: correct the imx_ssi_irq handler's devid parameterXinyu Chen
correct the imx_ssi_irq handler's devid parameter Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121386 imx spdif: get irq from platform resourcesRob Herring
Pass the irq number in platform device resources. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ccwmx51js: Fix compilation problems after patches mergeAlejandro Gonzalez
Also, test that the built image boots. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120827 make ssi a platform deviceAlan Tull
- put base address and irq in platform data. - use clk usecounts instead of ssi_active struct - allow up to MAX_SSI_CHANNELS in hardware Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120394-1 imx: remove unneeded spba related codeRob Herring
The spba defaults to all masters enabled and this is fine as all chips only have ARM and SDMA as masters. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120393-3 imx asoc: use iram allocatorRob Herring
Convert i.MX ASoC driver to use iram allocator functions. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-03-17ccwmx51: Rename audio cardAlejandro Gonzalez
Rename audio card to ccwmx51js to be coherent with other products. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-03-17ccwmx51: Support for the WM8753 audio chipAlejandro Gonzalez
Adding audio support for the WM8753 chip. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-12ENGR00119104 MX23 ALSA: Resolve the problem of record from line-inLionel Xu
Resolve the line-in record problem. Signed-off-by: Lionel Xu <r63889@freescale.com>
2010-02-12ENGR00119150 Bluetooth: Handsfree audio has noiseWallace Wang
When bluetooth handsfree is enabled, sgtl5000 and bt sound cards are both opened. BT sound card playback can't use IRAM as sgtl5000 has used IRAM. The bt audio platform data - ext_ram is not set when kernel porting to 2.6.31. Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-02-12ENGR00119005 ASRC: Remove unsupported sample rates from mixerWallace Wang
ASRC minmal output sample rate is 32000. When ASRC is used as ASRC-ESAI per_2_per mode, the unsupported sample rates should not be included in ASRC mixer. Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-02-12ENGR00118544 iMX23 Clear dangerous macro stmp3xxx_setl(clearl)Frank.Li
No all regiser use _SCT. stmp3xxx_setl may write to wrong address. please use __raw_write (value, REG_XXX_SET) to write date to SCT register. Only REG_XXX_SCT is defined when it exist at hardware. Signed-off-by: Frank.Li <Frank.Li@freescale.com>
2010-02-12ENGR00118790 ASoC AC97 codec driverWallace Wang
Add ac97 mode support for SSI module Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-02-12ENGR00117456: fix dac_get_volswAlan Tull
Fix shift direction. Don't return left channel value for both channels. Signed-off-by: Alan Tull <r80115@freescale.com>
2010-02-12ENGR00118701 MX25:Fix headphone plug-in caused system hangGuoqing Jiang
To keep system runs well after plugin headphone, replace disable_irq with disable_irq_nosync. Signed-off-by: Guoqing Jiang <b22156@freescale.com>
2010-02-12ENGR00118736 Mx35 ASoc: Trying to free already-free IRQ 240William Lai
Trying to free already-free IRQ 240 causes the warning dumped out when boot up the kernel. Return the error code in the probe function, which indicats the failure of the platform driver probing. Then the platform driver remove function will not be called, avoiding of freeing an already-free IRQ again. Signed-off-by: William Lai <b04597@freescale.com>
2010-02-12ENGR00118226 MX35 PM: System crashes when try to wake up from standbyWilliam Lai
The ak4647_codec is not initialized as there is no ak4647 codec existing on MX35 board. In the 31 kernel, the card and codec drivers are registered separately, and there is no check whether the codec is probed successfully or not. On MX35 board, the card is sucessfully registered, but there is no ak4647 codec. In this case, the system will crash if the system try to invoke the codec's resume function. To resolve the problem, add a check in registering the card. If the codec does not exist, give up registering the card either. Signed-off-by: William Lai <b04597@freescale.com>
2010-02-12ENGR00118016-3 wm8580: update to 2.6.31Alan Tull
wm8580 is using regulators that can't change state. The regulator driver doesn't handle this case well so it crashes during regulator_bulk_enable. Eventually this will be fixed in the regulator driver. For now, remove regulators from list in wm8580 driver. Fix spi_rw err. hw_write needs to return transferred data length. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-02-12ENGR00118016-2 wm8350: update to 2.6.31Alan Tull
In WM8350_FLL_CONTROL_1, keep FLL_RATE at default. Don't mute outputs by default. Signed-off-by: Alan Tull <r80115@freescale.com>
2010-02-12ENGR00118016-1 ASoC : upgrade audio support to 2.6.31Alan Tull
Move regulator control into codec drivers. Move codec platform data to machine layer. Remove unused fields from mxc_audio_platform_data. soc multiple audio cards support: dai_list is a list for all registered codec/cpu dais. One codec/cpu dais can't be registered twice, so move the cpu dai registering into imx-ssi.c/imx-esai.c Fix ak4647_read_reg error. Put ssi/esai mode in the cpu_dai private_data. sgtl5000: Fix the power for MX35 1. MX35 vddio and vddd are directly connected to external 3V3. It has no regulator control. 2. sgtl5000 needs some time to be ready after vdda is switched on so msleep(1) is added before regiter read/write. 3. On MX35 platform, vdda is from VCAM. Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Wallace Wang <r59996@freescale.com>
2010-02-12ASoC: Regulator support for WM8580Mark Brown
Add basic support for integration with the regulator API to WM8580. Since the core cannot yet disable biases when the CODEC is idle we simply request and enable the regulators for the entire time the driver is active. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-02-12ASoC: Fix WM835x Out4 capture enumerationMark Brown
It's the 8th enum of a zero indexed array. This is why I don't let new drivers use these arrays of enums... Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
2010-02-12ASoC: Automatically manage WM8350 sloping stopband filterMark Brown
For best performance the DAC sloping stopband filter should be enabled below 24kHz and not enabled above that so remove the user visible control for this and do it autonomously in the driver. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-02-12ASoC: WM8350 capture PGA mutes are invertedMark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
2010-02-12ENGR00116479: Ported DVFS-CORE and audio pop issue from Apollo project.Ranjani Vaidyanathan-RA5478
Fix the audio pop issue that is caused whenever the system enters and exits LP-APM mode. Added some more working points for DVFS-CORE. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00117389 Port 5.0.0 release to 2.6.31Rob Herring
This is i.MX BSP 5.0.0 release ported to 2.6.31 Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-02-12soc: add wm8580 spi supportWallace Wang
Add spi interface support to wm8580 codec. Signed-off-by: Wallace Wang <r59996@freescale.com>
2009-09-05Merge branch 'fix/oxygen' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'fix/oxygen' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: sound: oxygen: handle cards with missing EEPROM sound: oxygen: fix MCLK rate for 192 kHz playback
2009-09-03sound: oxygen: handle cards with missing EEPROMClemens Ladisch
The card model detection code introduced in 2.6.30 that tries to work around partially broken EEPROM contents by reading the EEPROM directly does not handle cards where the EEPROM has been omitted. In this case, we have to use the default ID to allow the driver to load. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reported-and-tested-by: Ozan Çağlayan <ozan@pardus.org.tr> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-09-01sound: oxygen: fix MCLK rate for 192 kHz playbackClemens Ladisch
Do not forget to program the MCLK ratio for the I2S output. Otherwise, the master clock frequency can be too high for the DACs at sample frequencies above 96 kHz. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-31Merge branch 'fix/hda' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: hda - Fix MacBookPro 3,1/4,1 quirk with ALC889A ALSA: hda - Add missing mux check for VT1708
2009-08-31ALSA: hda - Fix MacBookPro 3,1/4,1 quirk with ALC889ATakashi Iwai
This patch fixes the wrong headphone output routing for MacBookPro 3,1/4,1 quirk with ALC889A codec, which caused the silent headphone output. Also, this gives the individual Headphone and Speaker volume controls. Reference: kernel bug#14078 http://bugzilla.kernel.org/show_bug.cgi?id=14078 Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: <stable@kernel.org>
2009-08-31ALSA: hda - Add missing mux check for VT1708Takashi Iwai
In patch_vt1708(), the check of MUX nids is missing and this results in the -EINVAL error in accessing Input Source mixer element. Simpliy adding the call of get_mux_nids() fixes the problem. Reference: Novell bnc#534904 https://bugzilla.novell.com/show_bug.cgi?id=534904 Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-25Merge branch 'fix/misc' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'fix/misc' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: sound: pcm_lib: fix unsorted list constraint handling sound: vx222: fix input level control range check ALSA: ali5451: fix timeout handling in snd_ali_{codecs,timer}_ready()
2009-08-25sound: pcm_lib: fix unsorted list constraint handlingClemens Ladisch
snd_interval_list() expected a sorted list but did not document this, so there are drivers that give it an unsorted list. To fix this, change the algorithm to work with any list. This fixes the "Slave PCM not usable" error with USB devices that have multiple alternate settings with sample rates in decreasing order, such as the Philips Askey VC010 WebCam. http://bugzilla.kernel.org/show_bug.cgi?id=14028 Reported-and-tested-by: Andrzej <adkadk@gmail.com> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-24sound: vx222: fix input level control range checkClemens Ladisch
Fix a logic error in the range check of the input level control that would prevent setting any volume less than the maximum. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-23ALSA: ali5451: fix timeout handling in snd_ali_{codecs,timer}_ready()Bartlomiej Zolnierkiewicz
Modify loops in such way that the register value is checked also after the timeout condition, just in case the heavy interrupt load etc. caused the thread to sleep for the time period exceeding the timeout value. While at it remove an extra ALI_STIMER read from snd_ali_stimer_ready(). Reported-by: Jack Byer <ojbyer@usa.net> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-08-20Merge branch 'fix/hda' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 * 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: ALSA: hda - Fix probe of Toshiba laptops with ALC268 codec ALSA: hda: add model for Intel DG45ID/DG45FC boards ALSA: hda: enable speaker output for Compaq 6530s/6531s