summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2012-06-14audio: Fix for choppy playback in Ubuntu pulse audioramesh.chandrasekaran
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
2012-05-22[Android] USB sound: Add an uevent for USB audio device plug/unplugaudio-androidPhilippe Langlais
Send an uevent when an usb audio device (headset) is plugged or unplugged. They will be use by android framework for the audio accessory detection. ST-Ericsson ID: 398326 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I73d1b81d9f6a53be038bb0aa97cbb4ebc696f916 Signed-off-by: Deepak Karda <deepak.karda@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41288 Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@stericsson.com> Reviewed-by: Robert LIND <robert.lind@stericsson.com> Reviewed-by: Devinder THAKUR <devinder.thakur@stericsson.com> Reviewed-by: Hakan GARDRUP <hakan.gardrup@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42055 Reviewed-by: QABUILD Reviewed-by: QATEST Tested-by: Axel FAGERSTEDT <axel.fagerstedt@stericsson.com> Reviewed-by: Rajaram REGUPATHY <ragupathy.rajaram@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22sound: ab8500: Fix API change in 3.4 snd suspendPhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound: ux500: pcm: Fix after API change in 3.4 device_prep_dma_cyclic()Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound: ab8500: Fix after API change in 3.4Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22cg2900: sound: Fix after API change in 3.4 snd_soc_add_codec_controls()Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22sound: Fix for audio doesn't work in IK 3.3ramesh.chandrasekaran
Enable "Headset left" and "Headset Right" ALSA options by default Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
2012-05-22audio: u8500: Vibrator: Timed output vibrator driverMarcin Mielczarczyk
ST-Ericsson vibrator driver which registers in Android specific timed output device class. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com> Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@tieto.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Timed output vibrator: New functionality. This patch allows to form the vibration characteristic using few parameters defined in the platform data: - boost level and period for start condition - on level as moderate speed - off level and period for brake condition Detailed information can be found here: Documentation\DocBook\ste_timed_vibra.html Signed-off-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com> Signed-off-by: Krzysztof Antonowicz <krzysztof.antonowicz@tieto.com> Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> vibrator: remove board specific control of vibrator Platform specific control of vibrator should be present in board file (here board-mop500.c). So, for example if GPIO pins are used to control the vibrator, its control function implemenation should be in board file. This patch provides the callback function support in the driver for the same. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> android: vibrator: dont directly access ktime_t members Use ktime helper functions for converting ktime values Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> u8500: vibra: linear vibrators using vibra-pwm Linear vibrators operate on thier required resonance frequency (for COPAL and AAC its ~150Hz). This can be provided using AUDIO DA5 path. This software *workaround* enables linear vibrators using AB8500 vibra-pwm by generating required resonace frequency using software. In addition this patch provides support for separate platform data for Linear and Rotarty vibrators. Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> u8500: vibra: disable vibrator after vibration This patch disables vibrator i.e. configures the PWM duty cycle to zero after vibration duration is over. Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> u8500: optimize: linear vibra drv using vibra-pwm This patch optimizes the current implementation of "linear vibrator driver using vibra-pwm". Current implementation is CPU intensive and uses 100% of a CPU for the time period vibrator is used. ST-Ericsson ID: ER 349958 Signed-off-by: Avinash A <Avinash.a@stericsson.com> u8500: vibra: fix sleeping fn. in atomic context sleepable call - flush_workqueue called from atomic context of vibra_enable. ST-Ericsson ID: ER 351276 Signed-off-by: Avinash A <Avinash.a@stericsson.com> u8500: vibra: remove race condition in timer operation In situation described below, vibra driver can hang. In a scenario where vibra_enable is called and vibrator is running i.e. vibra_work is scheduled and vibra_timer. Suppose vibra_timer is started and has not expired yet. At this moment if vibra_work starts executing and acquires the vibra_lock and just before hrtimer_cancel is called, if old timer expires and timer callback starts executing then it will try to acquire vibra_lock and hence it will wait for vibra_lock, as it is already acquired by vibra_work. Now vibra_work->hrtimer_cancel will wait for timer callback to complete and timer callback will wait for vibra_lock to be free so that it can complete. This result in recursive waiting for vibra_lock and hence deadlock. As timer callback is running in interrupt context so above deadlock may trigger watchdog. ST-Ericsson ID: 405366 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> u8500: vibra: remove race condition in open In situation described below, vibra driver can hang. vibra_enable takes the vibra_lock and timer expires then timer callback will spin for vibra_lock. If vibra_enable tries to do hrtimer_cancel then it will wait for timer callback to complete. In above situation hrtimer_cancel will wait for timer callback to complete and timer callback will wait for vibra_lock to be free so that it can complete. This result in recursive waiting for vibra_lock and hence deadlock. As timer callback is running in interrupt context so above deadlock may trigger watchdog. ST-Ericsson ID: 407253 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> vibra:Remove unnecessary assignment of dev->parent Remove unnecessary assignment of dev->parent, because of this during timed out class unregister it is trying to free resources of parent which does not exist Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
2012-05-22ASoC: Ux500: Correct Bit-clock Frequencyroger nilsson
The 'Burst FIFO Bit-clock Frequency' enum kctrl mapped the string literals wrong. ST-Ericsson ID: - ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6fea580870b0d7fbe70c1ab6183d880f151b1b90 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50684 Reviewed-by: QABUILD
2012-05-22ASoC: ux500: Request default QOS insteadJonas Aaberg
Request default QOS level instead of hardcoded value. ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icc96f169d8971184d4c3a1377595c786962dedef Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51215 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QABUILD
2012-05-22ASoC: Ux500: Disable HS Zero Cross controlKristoffer KARLSSON
HS gain is changed without zero cross control. ST-Ericsson Linux next: NA ST-Ericsson ID: 417037 ST-Ericsson FOSS-OUT ID: Trivial Original Change-Id: Ie6f195a0353d3dc8704a1611c59b2d64c94e5dc0 Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Change-Id: I0b3912a493c9384e16161702584a41b7d23203e2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51049 Reviewed-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Tested-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22USB:Enabling autosuspend in Host audioSakethram Bommisetti
Allowing to suspend the usb bus if the connected device is a USB Audio device. ST-Ericsson ID: 415876 Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
2012-05-22ASoC: Ux500: Move dma handling to platform driverroger nilsson
The whole audio dma engine has been moved to the ux500 platform driver. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib399e4f3e8df943c95b4c3df1a1723cdac4936d9 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50646 Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22ASoC: Ux500: Sidetone sequence control and error handlingKristoffer KARLSSON
Implementation of sidetone write sequence control, read back and error handling in u8500 ASoC driver. ST-Ericsson Linux next: NA ST-Ericsson ID: 408244 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iff0bef7e35876a011c1433718300d123c7a8c087 Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50478 Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoC: Ux500: Adds d2d support for linein to headset & speakerJohan Bohlin
Adds support for device to device connections between linein to headset and linein to speaker. This modification required that some playback and capture switches needed to be removed, therefore to make it homogenous all input/output playback/capture switches were removed. ST-Ericsson ID: 358725 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9bbd795b3fba76d6f008a07436bcb4c5c5d6e804 Signed-off-by: Johan Bohlin <johan.bohlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50085 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoC: codecs: ab5500: Fix build warningJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idefcb26470c85b7089f2bce411f4a37f1687aaf3 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47969 Reviewed-by: QABUILD
2012-05-22ASoC: Ux500: Correct AV8100 InfoFrame-settingsGoran Jonsson
Change settings in the HDMI Audio InfoFrame sent to AV8100 to be compliant with the HDMI 1.4 standard. ST-Ericsson ID: 399365 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I355a0558d37c73f67e6391563b05791d7b0410f1 Signed-off-by: Goran Jonsson <goran.xg.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46082 Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoC:Ux500: Random crash in MSP driverHemanth Puranik
Corrected the condition check which released the TX DMA if RX is opened first on same msp interface. Also corrected the alsa pcm device active and configure device flags, add suspend and resume cases. ST-Ericsson Linux next: NA ST-Ericsson ID: 407933 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Hemanth Puranik <hemanth.puranik@stericsson.com> Change-Id: I78b73585333cd9ad61fda1f6a2d5d3be9d15210c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45411 Tested-by: Hemanth Ramachandra PURANIK <hemanth.puranik@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS
2012-05-22ASoC: Ux500: Fix merge error causing DMA leakMaxime Coquelin
ST-Ericsson ID: 409827 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I600d0cd772b1921c8c310bfd5cd35795389ff67b Signed-off-by: Maxime Coquelin <maxime.coquelin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45289 Reviewed-by: Christophe PRIOUZEAU <christophe.priouzeau@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22sound: Fix for audio doesn't work in IK 3.3ramesh.chandrasekaran
Let all the sound codecs compile only when CONFIG_STM_MSP_SPI config is selected Signed-off-by: Ramesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
2012-05-22sound: Fix after includes renaming in 3.3Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22sound: ux500 ASoC: Fix bad clock errors checkingPhilippe Langlais
2012-05-22audio: i2s: msp_i2s driver porting on 3.2Philippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22ASoC: cg29xx: Configuration for FM.Shyam Krishnan M
Modified cg29xx audio settings to support FM usecase. ST-Ericsson Linux next: NA ST-Ericsson ID: 375380 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id8d587b0a14b0d3c1b9695e44a38a3562dc07e49 Signed-off-by: Shyam Krishnan M <shyam.moni@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43577 Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: QATEST
2012-05-22ASoC: Ux500: Add support for mapping reg to amicKristoffer KARLSSON
Added support for configuring which regulator is connected to which analog microphone so that the correct regulator can be automatically powered up/down when each analog microphone path is connected/disconnected. ST-Ericsson Linux next: NA ST-Ericsson ID: 350064 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia400b552b37fd48d3cb9856663a599ddb70b861c Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43929 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2012-05-22ASoC: Ux500:Use regulator framework control BIAS2Hemanth Puranik
This patch uses regulator framework for both BIAS2 and Digital Mic. ST-Ericsson Linux next: NA ST-Ericsson ID: ER367747 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ibda52413d1a848eb2ad576361eaf6e87af02e667 Signed-off-by: Hemanth Puranik <hemanth.puranik@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41162 Reviewed-by: QABUILD Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: Kumar K M <kumar.km@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22ASoC: Ux500: Move i2s into ASoC and remove old i2s-layerOla Lilja
The old multi-client i2s driver-layer located in drivers/misc/i2s is removed and the MSP-operation for i2s is moved into the file ux500_msp_i2s.c in the Ux500 ASoC-folder. ST-Ericsson ID: - ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I11c9021bb7b2385afba9a3e658b5bef7fe9fdb68 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41704
2012-05-22ASoC: Ux500: Add api for unsupported hs detectKristoffer KARLSSON
This patch adds support for aiding detection of headset with gnd and mic pins switched. ST-Ericsson Linux next: NA ST-Ericsson ID: 361921 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I01171aa4ce57a25237986cdf2f0ca4e01660fb28 Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42607 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoc:Ux500 AB5500 CODEC clock always enabledHemanth Puranik
Codec clock was always enabled in probe function. This is now removed. Now it is enabled only when it is used. ST-Ericsson ID: 400223 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7547ebb1462133fdebc7dfec00c99630b74fdeaf Signed-off-by: Hemanth Puranik <hemanth.puranik@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42278 Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Kumar K M <kumar.km@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22ASoC: Ux500: Audio driver not requesting for clocks it usesHemanth Puranik
Driver was modified to request for sysclk. sysclk is requested using the clock framework. ST-Ericsson ID: 343921 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id4f7d8a7af57211ba07801110758ab6c58acadf2 Signed-off-by: Hemanth Puranik <hemanth.puranik@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42271 Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2012-05-22ASoC: Ux500: Put back bit-delay for AV8100-codecOla Lilja
The one-bit delay is needed for AV8100 codec-driver. Change-Id: Ide5e2f0588ff1691ec2672ff3db6d2c320c43b84 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41702 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2012-05-22ASoC: cg29xx: Configuration for BTVoicecall.Shyam Krishnan M
Modified cg29xx clock settings to support BT voice call. ST-Ericsson Linux next: NA ST-Ericsson ID: 338809 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I999bede2be223b88dfa9eaab4b0f56561a5c6769 Signed-off-by: Shyam Krishnan M <shyam.moni@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41295 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22misc: Remove obsolete header fileroger nilsson
The msp_i2s header file was a duplicate to: arch/arm/mach-ux500/include/mach/msp.h The asoc drivers now use the correct header file. ST-Ericsson ID: 361991 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I8bd4e67ba149b12f9008012d98cb6d0c8481c5a4 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41032 Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoC: Ux500: Fix TX register shift valueKumar KM
This patch corrects the usage of register for transmitter shift value used for selecting mic type. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8ace390d92bd74845c906f065cb2ff8b1904fad8 Signed-off-by: Kumar KM <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40781 Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ASoC: Ux500:use framework to support mic regulatorRabin Vincent
This patch enables digital mic regulator for AB5500 using regultor framework. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0cfe0196350976c28b77e65a5cebae0a1252f78a Signed-off-by: Kumar KM <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40777 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22Ux500 ASOC:Enable codec as master for 5500ing07300
This patch enables codec as master and MSP as slave specific to 5500, to resolve AV sync issue. ST-Ericsson Linux next: 373944 ST-Ericsson ID: 373944 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id: I244b967086109b93cb3cb7d2b1aea9d46a5c2e52 Signed-off-by: ing07300 <raghavendra.patil_2@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37511 Tested-by: Kumar K M <kumar.km@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com>
2012-05-22Ux500 ASoC: Only turn off regulator on errorMagnus Templing
ST-Ericsson ID: 373275 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I671122a26da1a0cf3c69f0fb2c48a4365464ecfb Signed-off-by: Magnus Templing <magnus.templing@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38150 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: QATOOLS Tested-by: Tobias ANDERSON <tobias.xx.andersson@stericsson.com> Reviewed-by: QABUILD
2012-05-22ASoC: Ux500: Proper power on sequence for playbackkumar km
This patch corrects the power on sequence for playback case with proper envelop threshold value and speaker related controls moved to alsa control. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If52dce80a84e86d1cc384b3b020ca2267aa5e76a Signed-off-by: Kumar KM <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38028 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ASoC: Ux500: Remove static route in ABkumar km
This patch removes the static route for audio playback and capture paths in AB5500. The dynamic routing is controlled through alsa kcontrols. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iab86b8d8c773589197f1ab403924decbdca2fdca Signed-off-by: Kumar KM <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38022 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ASoC: Ux500: Remove static gain setting in ABkumar km
This patch removes the static gain setting for audio playback and capture paths. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iac3318c9b7bf7d961612baaa1713c235438756d9 Signed-off-by: Kumar KM <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38008 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22ASoC: Ux500: Fix DPGA2 gain register usagekumar km
This patch corrects the usage of register for gain setting of receiver DPGA2 used in alsa kcontrol. ST-Ericsson Linux next: NA ST-Ericsson ID: WP363424 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idd0d7cd43966001b71bea11a88103f571ad958b6 Signed-off-by: kumar km <kumar.km@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37982 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: QABUILD
2012-05-22Ux500 ASOC:fix incomplete reversal on AB mastering07300
This patch completes the AB5500 as master and MSP as slave reversal that was partially done. ST-Ericsson Linux next: 373944 ST-Ericsson ID: 373944 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id: I1031f1a60efcb6a5ddeb1778e2d694ceed2609bf Signed-off-by: ing07300 <raghavendra.patil_2@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37510 Reviewed-by: QABUILD Tested-by: Kumar K M <kumar.km@stericsson.com> Reviewed-by: Amaresh MULAGE <amaresh.mulage@stericsson.com> Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2012-05-22Ux500 ASoC: power_lock was not properly releasedMagnus Templing
ST-Ericsson ID: 373275 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Magnus Templing <magnus.templing@stericsson.com> Change-Id: I13837da43f8083ce4e0fb361f21a8e7fa8a14970 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37689 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22ASoC: Ux500: Dynamic setting of HDMI Coding Type in AV8100Ola Lilja
Added ALSA-control to set the HDMI Coding-type to be used when sending the audio info-frame to HDMI-device. ST-Ericsson ID: 326749 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I040bf42aa704362d0b608f5e73d113ba97470d12 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33470 Reviewed-by: QABUILD Tested-by: Henrik SEGERBACK <henrik.xh.segerback@stericsson.com>
2012-05-22ASoC: Ux500: Fixed name convention errorsJohan Bohlin
Fixed some alsa controllers that were wrongly named. ST-Ericsson ID: 362841 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I28e7e6505480d899703ea94592436e2e9d82bfe4 Signed-off-by: Johan Bohlin <johan.bohlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37292 Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22Ux500 ASOC: Correct faulty MSP settingsroger nilsson
The polarity and enable bits were not correctly set when codec was master. ST-Ericsson ID: 361991 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I37a1953943a1f0c1077f86d8c0936ddbd2c7e85b Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37374 Reviewed-by: QATOOLS Reviewed-by: QABUILD
2012-05-22ASoC: Ux500: Power toggle moved to DAPM re-visitedroger nilsson
The toggling of power for the AB8500, including turning audio regulator and audio clock on/off is now moved to be a part of the DAPM-chain. Some widgets were related to the wrong stream. ST-Ericsson ID: 352421 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Change-Id: Ibfb0361f2c34e7114fd5480735084a525eb402cf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37056 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2012-05-22Ux500 ASOC:To enable codec as masterkumar km
This patch enables AB5500 as master and MSP as slave to resolve AV sync issue. ST-Ericsson Linux next: Not tested, 361991 ST-Ericsson ID: 361991 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id: I642e4ce214cf2c732ad38db42f2c83324fa23ccb Signed-off-by: kumar km <kumar.km@stericsson.com> Change-Id: I113bd7ebe4d417f9bd19794eaae203f36308158d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35933 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: QATOOLS
2012-05-22Ux500 ASoC: Add ANC functionalityKristoffer KARLSSON
This patch adds support for control of the ANC block in the ab8500 chipset. ST-Ericsson Linux next: NA ST-Ericsson ID: 325656 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icf57820d32b218f16f13d96d195b2cba6b31f494 Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Change-Id: Ic841ecb0ae13939c84e8d959ab3cb74986e3b72b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32988 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: QATOOLS
2012-05-22Ux500 ASoC: Add new generic ALSA Control typesKristoffer KARLSSON
Added the definition and implementation for: * Signed multi register controls (1,2,4 and 8) * Signed array cache control * Strobe bit control Both multi register- and array control types have full support for signed longs (64bit) ST-Ericsson Linux next: NA ST-Ericsson ID: 325656 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3041fe115bc349bfddc3870c160e9087f21f6197 Change-Id: I955b7248b1f81fbbd331cf41edc696c865d61758 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32987 Reviewed-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Tested-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>