summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
AgeCommit message (Collapse)Author
2013-01-21ASoC: sgtl5000: Fix maximum value for microphone gainT30_LinuxImageV2.0Alpha1_20130122Fabio Estevam
sgtl5000 microphone gain only has 2 bits of resolution, so maximum value is 3. From Eric Nelson: "We also found that for the microphones we have here (commodity PC boom mics) a default value of 2 for the gain gives the best results." So change the default microphone gain as well. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: enable VAG_POWER for LINE_INDong Aisheng
LINE_IN also needs VAG_POWER on or we may hear noise when directly route LINE_IN to Headphone Mux. Tested on imx28evk. Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: Fix wrong register name in restoreZeng Zhaoming
Correct SGTL5000_CHIP_CLK_CTRL to SGTL5000_CHIP_REF_CTRL in sgtl5000_restore_regs(), and add comment to explain the restore order. Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com> Acked-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: Enable VAG when DAC/ADC upZeng Zhaoming
As manual described, VAG is an internal voltage reference of DAC/ADC, So enabled it before DAC/ADC up. One more thing should care about is VAG fully ramped down requires 400ms, wait it to avoid pop. Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: fix DB_RANGE sizeClemens Ladisch
Give the correct number of entries to TLV_DB_RANGE_HEAD to prevent reading more data than actually is in the array. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2013-01-21ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits callsAxel Lin
Ensure all mask bits are clear before setting new value. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Dong Aisheng <b29396@freescale.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask valueAxel Lin
We have defined SGTL5000_LINREG_VDDD_MASK in sgtl5000.h, use it instead of hardcoded (0x1 << 4) - 1 for the mask. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: Set sgtl5000->ldo in ldo_regulator_registerAxel Lin
Otherwise calling ldo_regulator_remove() does not unregister regulator and free memories. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: Fix setting mic bias resistorAxel Lin
According to the datasheet: CHIP_MIC_CTRL 0x002A BITS[9:8] BIAS_RESISTOR 0x0 = Powerd off 0x1 = 2.0 kohm 0x2 = 4.0 kohm 0x3 = 8.0 kohm To set mic bias resistor, we need to update bits[9:8] of SGTL5000_CHIP_MIC_CTRL register. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: Fix define for SGTL5000_BIAS_R_MASKAxel Lin
According to the datasheet: CHIP_MIC_CTRL 0x002A BITS[9:8] BIAS_RESISTOR 0x0 = Powerd off 0x1 = 2.0 kohm 0x2 = 4.0 kohm 0x3 = 8.0 kohm Thus SGTL5000_BIAS_R_MASK should be defined as 0x0300 instead of 0x0200. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21ASoC: sgtl5000: fix module device table type for sgtl5000_dt_idsAxel Lin
The module device table for of_device_id should use "of" type. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-21Conflict due to the fix for the register map failure - taken the for-3.1 ↵Mark Brown
version. Conflicts: sound/soc/codecs/sgtl5000.c
2012-08-27asoc: codecs: TI aic326x: Add Digital Mic supportManoj Gangwal
Bug 1034241 Change-Id: Id0037f18afa58be82cbeeb43e97b606614fb8ba8 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/125273 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-08-27asoc: codecs: Add TI aic326x driverManoj Gangwal
Add latest TI aic326x driver. Bug 1034241 Change-Id: I8457538025b2989c4baa5eaefef48bdd5535def9 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/125167 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
2012-08-02asoc: codecs: max98088: fix no audio after resetSayak Ghosh Choudhury
98088 codec register value is altered to fix no audio issue after reset. Previously after reset the register value was getting wiped out. Bug 1017782 Change-Id: I060929bfb868c48dc4db9def171a3bdd167a3913 Reviewed-on: http://git-master/r/120319 Tested-by: Sayak Choudhury <sayakc@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-07-12asoc: codecs: max98088: Headset DetectionNikesh Oswal
Add code for headset detection according to that state transitions mentioned for JKSNS field in the max98088 codec datasheet Bug: 110529 Bug: 1008246 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/112127 (cherry picked from commit 12a2259e0e9cf7da4bf64bad2a97c32cec41477c) Change-Id: I7d45b210dd02f181e71a08d9b3de7cff109dd88b Reviewed-on: http://git-master/r/114445 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-31asoc: codecs: ALC5639/40: Change to reduce codec pwr in lp0Manoj Gangwal
Bug 964287 1) Add support for resetting the codec while entering in lp0 state to save codec power in lpo for KAI. 2) Fix for cache sync. 3) Add index sync functionality. Change-Id: I04039eb55944bfe7f06e6a1405ac3c810c5688a1 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/104480 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Daniel Solomon <daniels@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-15asoc:codecs: tiaic326x: remove mini dsp supportNikesh Oswal
disable the compilation of minidsp specific code, we are disabling the minidsp in codec because the driver is not stable and different customers are using different process flows for mini dsp Change-Id: I08f8f485f1a379773f2f1f7ae2fd1b3a89c45d07 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101232 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-14asoc: codecs: spdif: Add support for setting bias levelAnkit Gupta
Allow setting bias level to turn off clock extern1 on enterprise when codec is idle. Added a dummy widget to make the target_bias_level to BIAS_OFF as per required by the new ALSA kernel. Bug 984678 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I29de405c26286eee0a49e655f1d4236f6093ce8a Reviewed-on: http://git-master/r/100287 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com>
2012-05-14asoc: codecs: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: I9c2a0aa22432c586a7e72273ad935d42332e873f Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/95087 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-08Revert "asoc:codecs: tiaic326x: remove minidsp support"Simone Willett
This reverts commit 774fa71fc9834fbdcb297048d9e9a4bc7b944b48 Change-Id: Ib187dff51d3b2fd2b2ac0c98a53abe07c99148aa Reviewed-on: http://git-master/r/101359 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-08asoc: codecs: rt5640: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I4409eaff4042967133cc948452ca8e52d15b2d18 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92279 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-08asoc:codecs: aic326x: change alsa ctrls for headphone driverNikesh Oswal
Use non-inverting type alsa control for headphones as same have been used for spk and recv Change-Id: I39d2613071063782dff8151b07ef46ca8e16db5c Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101234 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-08asoc:codecs: tiaic326x: remove minidsp supportNikesh Oswal
disable the flags for turning off the mini dsp support Change-Id: Ieb0b18fc3cc1143cbd0a315c85688d2f1ae4efe1 Reviewed-on: http://git-master/r/101233 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-01asoc: codecs: spdif: Add support for setting bias levelManoj Gangwal
Allow setting bias level to turn off clock extern1 on KAI when codec is idle. Added a dummy widgets to make the target_bias_level to BIAS_OFF as per required by the new ALSA kernel. Bug 964287 Change-Id: I628744040866a9879eedc41ed4ee25af38ed86fb Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/99667 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Hunk Lin <hulin@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-17ASoC: WM8903: fix the resume sequenceJoseph Lo
The bias control must be done after the default register value been restored. Bug 964400 Change-Id: Iefbd96506573d5ea0e1b3123bb34c38e34e75068 Signed-off-by: Joseph Lo <josephl@nvidia.com> Reviewed-on: http://git-master/r/96658 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-16asoc: codecs: rt5639/40: Fix false Headset detectionManoj Gangwal
1. Use rt5639/40 internal clk source during jack insert detection. 2. Add delay to 100ms. Bug 955019 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/93510 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> (cherry picked from commit 4c07fc1b10ac8abbbf167952071e47aa6179a635) Change-Id: I4021232674f5432392dc013ddc76c3bf08b44ed0 Reviewed-on: http://git-master/r/95874 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-08ASoC: max98095 codec: check return valueRavindra Lokhande
check max98095_reset() return value, this function fails if codec read/write fails. Change-Id: I4dddd75e0870e4168288396a462133f7287ad72e Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/95078 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-06asoc: codecs: Enable bias off when idle for rt5639 and rt5640Daniel Solomon
Allow bias off in order to turn off clock extern1 when codec is not used. Bug 957635 Signed-off-by: Daniel Solomon <daniels@nvidia.com> (cherry picked from commit adc6929ab3170acd6a0b2cee4f65fa20a1c1d30f) Change-Id: I4f2e91b0cd9bb4516a5722d2df268f08e78f92e2 Reviewed-on: http://git-master/r/93949 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2012-03-23asoc: codecs: max98088: check for revision idNikesh Oswal
check for revision id, it must be 0x40 as per the datasheet, if its not 0x40 then dont allow the card to register by failing in the codec probe. This functionality will be required when the same board support multiple codecs. Also register the irq only after validating the codec. Change-Id: I8553b85d534428c7137ec2d03e2f814b898609a6 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90061 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-08asoc: codecs: update the TIAIC326x driverNikesh Oswal
update the TIAIC326x driver for voice call Change-Id: I1443b462b5b7e049fe4cbf39215aea6eeb955500 Reviewed-on: http://git-master/r/88012 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-05asoc: codecs: Fix pop noise while booting for ALC5639/40Manoj Gangwal
Fix for pop noise 'cut' from internal speaker while booting on kai board. Bug 929049 Change-Id: I9c3fe7e05d869709f50036042e70abc91722885e Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/87685 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-02asoc: codecs: Add Headset detect support for ALC5639/40Manoj Gangwal
Add support for headset detection for ALC5639/40 codec for kai board. Bug 937914 Change-Id: I0bb9e913601c37a1cc8f7094fbdd3885aeec92b3 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/86348 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Tested-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2012-02-28asoc: codecs: support 26MHz mclk for aic326x codecHarry Hong
bug 940617 Change-Id: I83f43820761d0227d7a594123d22fe79089e2e15 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/86280 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-02-23asoc: codecs: remove device id for aic326x codec driverNikesh Oswal
Change-Id: Ia6fac687a6b302fa49b6f8a7cfd74abfde5b45f9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84544 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: configure ASI2 as masterNikesh Oswal
configure ASI2 as master and add missing dapm widgets and routes Change-Id: If2f9c8361888ec40147cd5537f435c91e50cbcc8 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84538 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: add process flow for voice callNikesh Oswal
Change-Id: Ie8ef49b2a76e27e07835fb61bce23ddf69c0b1f9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84537 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: enable the headset interrupts after jack registrationNikesh Oswal
Change-Id: I682ccc9ba44f82b8acf836c1703d5d54419da54b Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84535 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: change the init values of aic326x registersNikesh Oswal
change the init values of aic326x registers to keep unrequired codec elements powered off to save power, these codec elements would be turned on when required by dapm Change-Id: Id843fae2ca1f30b77c402da7ac24e89fb04828b6 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84534 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: add mixer controls for configuring CM modesNikesh Oswal
add mixer controls for configuring CM modes and use the non-inverting modes for speaker and receiver mixers Change-Id: I247ccea17d08dc92ac035d6e8070fb146d26b7f5 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84532 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23sound: soc: codecs: update the TI codec driver for K39Nikesh Oswal
Change-Id: If40c181227981696961d3c563008261e5324e807 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84528 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-16asoc: rt5639: Write the right device idKerwin Wan
The value of reset register of ALC5639 is 0x0008 instead of 0x000c. bug 931371 Change-Id: I5fbf31411ddab2358d61f998f74a7b1f8c151312 Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-on: http://git-master/r/83318 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Tested-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-16asoc: codecs: Add Suspend/Resume support for ALC5640Manoj Gangwal
- Added suspend/resume support for ALC5640 - Fix for I2S1 interface Bug 936013 Change-Id: I60b0eb224e9475b722ecb9e2fb8bf0a6dae12767 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/83058 Reviewed-by: Johnny Qiu <joqiu@nvidia.com> Tested-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-10asoc: codecs: Fix build break for ALC5639 codecRakesh Iyer
The vendor supplied driver has to be fixed to work on older kernels. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/78278 (cherry picked from commit ffce206b2d67bb9618a97d08e88c6ae25ba79baa) Change-Id: Ifd8712758307cd4f31526cc050c62a89187a7c8d Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82733 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-02-10asoc: codecs: Add vendor supplied files for ALC5639 codecRakesh Iyer
Add files for ALC5639 codec as provided by vendor. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/78277 (cherry picked from commit b45ab605accb68fd303deec5ed962f213047f9bf) Change-Id: I6c19e13c3dfec394cef812a5be1bc2ee5d58751b Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82732 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-02-10asoc: codecs: Add support for ALC5639 codecRakesh Iyer
Add support for ALC5639 codec present in the KAI A01 board. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/77952 (cherry picked from commit 1747f1003be6413e0e173dee39b25afcbe522528) Change-Id: I5180d4ed669c4100ca29e6ed508406e69a88fe88 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82730 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-01-30asoc: wm8903: Fix clock functionsScottPeterson
Clock function for non-integral of sample rate clocks does not work correctly and generates incorrect sample rate. Signed-off-by: ScottPeterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/75792 Change-Id: I39977c9e2b647d4eabc8d9209c2d05665f708ab0 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77752 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30asoc: codecs: wm8753: allow to change the dai mode even when codec is busyNikesh Oswal
In Voice Call when ringtone stream is opened the codec is busy and the call mode needs to be set before closing the ringtone stream hence we put the logic in codec driver to enable dai mode change even when codec is busy Bug: 919350 Reviewed-on: http://git-master/r/76954 Change-Id: Iaf7176b3a7f72709140e29c2c6071ab4101ec418 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77732 Reviewed-by: Automatic_Commit_Validation_User
2012-01-20ASoC: WM8903: Use 2x of miniumum bitclk in master modeSumit Bhattacharya
Instead of using tight bitclk use 2x of minimum bitclk requirement in codec master mode. This change is needed to have clean audio in codec master mode on Tegra30 based cardhu platform. Bug 915107 Change-Id: Ia59e1a906415ad8fd1ed324ab4dabef61746b62f Reviewed-on: http://git-master/r/75706 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76467 Reviewed-by: Automatic_Commit_Validation_User
2012-01-11ASoC: Fix WM8996 24.576MHz clock operationMark Brown
commit 37d5993c5cc9bc83762ae1b5bd287438022e8afe upstream. Record the clock after the divider as that is what all SYSCLK users see. Without this the other clock configuration in the device comes out at half rate. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Change-Id: Ifd4d1165bc59b4cb35a3d30e43ebba442c67a68c Reviewed-on: http://git-master/r/74167 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>