summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2012-06-04asoc: tegra: p1852: Use pcm-driver from platformNitin Pai
Use the pcm-driver specified from platform/board specified file. Bug 991926 Change-Id: I9e4c9a3f76bacb22de817273a2281ac9b8959c43 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/105415 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bob Johnston <bjohnston@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-31ASoC: tegra: remove compilation warningJuha Tukkinen
Ensure i2s_client_bits and i2s_audio_bits do not get used uninitialized. Bug 949219 Change-Id: Ibdd7f2598278639388d2c2afb5843f2471375ea2 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/105426 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@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-28ASoC: Tegra: Add support for AVP renderingSumit Bhattacharya
Add alsa controls to specify which alsa device is used by AVP to render audio. Also add support for disabling DMA interrupt when AVP renders audio. Also add couple of alsa controls to query DMA channel ID and DMA buffer physical address. Bug 968814 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: If593329db72bf00d97f7433f5c54e13500281253 Reviewed-on: http://git-master/r/97916 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-25ASoC: tegra: treat compilation warning as errorSanjay Singh Rawat
Bug 949219 Change-Id: Ic8976b008772220299369369427a80dd370df596 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/104419 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-25ASoC: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: If7b4dd928cc5a808fd1a674bcc5f31c9a396a043 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/103772 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-24asoc: tegra: utils: fix for multiple instances of extern1 clock.Ankit Gupta
The extern1 codec clock was not getting switched off whenever codec goes below BIAS_OFF level. Moreover, there were two instances of extern1 clock whenever codec was on. Reason behind this was that, those codecs for which probe function was called and were not present on board, turned on their extern1 clock, but clean up routine (for switch device register failure) was not able to turn off the clock. With this change, a conditional check is put to turn off the clock. (Bug 984678) Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I585ecf73c0cabca856592dcd84e67588dfe13beb Reviewed-on: http://git-master/r/104073 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-23asoc: tegra: P1852 machine: Add TDM mode settingsNitin Pai
Pass TDM mode variables for CPU dai. Codec Id is not passed properly, hence use dual instances of the dai_link operations. Bug 948478 Change-Id: I13188d5001b8f9c2f2f67ee7a9d3bec89311037d Signed-off-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-on: http://git-master/r/103793 Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-23asoc: tegra: Add TDM mode supportNitin Pai
Added TDM mode support in I2S driver. Added support functions in AHUB to pass audio/client bits. Added support functions in AHUB to pass audio/client channels. Fixed the stopping of I2S/TDM by clearing the fifo. Bug 948478 Signed-off-by: Nitin Pai <npai@nvidia.com> Change-Id: I560f4ab5b71e4833931934275272a094241241fe Reviewed-on: http://git-master/r/103840 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@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: tegra: MAX98088 machine: Add support for setting bias levelAnkit Gupta
Allow setting bias level to turn off clock extern1 when codec is idle for enterprise board. (Maxim 98088 codec) Bug 984678 Change-Id: Ib01be71362ab0c5525f570693b41db73777875e6 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Reviewed-on: http://git-master/r/102240 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-14asoc:tegra: Enable I2S tx in voice callNikesh Oswal
Associated with I2S there is a playback ref count, when we open the I2S for plyabck it is incremented and during voice call we check if its not zero then enable the tX. This logic fails if the start-trigger is not called for the prior playback stream. Hence we unconditionally enable the tx, which is harmless Bug: 981806 Change-Id: I66aafda596e2b2b03745e93f3e851dedc3b8ef5d Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101996 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@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: tegra: pcm: Add support for setting bias levelAnkit Gupta
Allow setting bias level to turn off clock extern1 when codec is idle for Enterprise (Maxim 98088 codec). Bug 984678 Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I09538dafe6c6f01547ff989de3c23933c9745db0 Reviewed-on: http://git-master/r/100286 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@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-11Revert "asoc: tegra: Add TDM mode support"Nikesh Oswal
This reverts commit dfa00e184b5fe0d4d48fa62a15fc956de9b6b65c. This is causing a regresssion. Bug: 977319 Change-Id: I4fe6daf88b2988978f089194f2931691eeb0eb09 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101687 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijaya Bhaskar <vbhaskar@nvidia.com> Reviewed-by: Scott Peterson <speterson@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: tegra: pcm: If there is no dma information exit from triggerNikesh Oswal
If there is no dma information exit from trigger, this is required for the dummy voice call playback and capture streams Change-Id: I5276e7ebb72c17268a9785204fea9f395b2e5d3a Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/101235 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@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-04dmaengine/dma_slave: fix merge issue.Linqiang Pu
Change-Id: I0931f4ef7a5464dd32d8c703288a137fc77857ce Signed-off-by: Linqiang Pu <dpu@nvidia.com> Reviewed-on: http://git-master/r/100090 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@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-05-01asoc: tegra: pcm: Add support for setting bias levelManoj Gangwal
Allow setting bias level to turn off clock extern1 when codec is idle. Bug 964287 Change-Id: I48056b86a9fdaea70202bee9326debaaddf69c0c Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/99665 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-01asoc: tegra: ALC5640 machine: Add support for setting bias levelManoj Gangwal
Allow setting bias level to turn off clock extern1 when codec is idle. Bug 964287 Reviewed on: http://git-master/r/#change,93950 Change-Id: Icc11e8bfb359b432f0bfd9ba214877259188de2b Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/99659 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Hunk Lin <hulin@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-01ASoC: tegra: Fix bit-format checkingJubeom Kim
condition to check bit-format is always false because TEGRA20_I2S_CTRL_BIT_FORMAT_I2S is zero. Bug 947429 Change-Id: Ieb92f0732b092100dc1bf323ad60aff4439d5b3d Signed-off-by: Jubeom Kim <jubeomk@nvidia.com> Reviewed-on: http://git-master/r/99341 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
2012-05-01asoc: tegra: Add PCM driver for TDM modeNitin Pai
Modified existing pcm driver to take dma mode/ hw structure. Exported the functions needed for other pcm mode driver. Added new TDM mode hw param structure. Added pass SINGLE/DOUBLE buffered dma mode params. Bug 948478 Change-Id: I58309d52748f813b3303a8d6a052fbb6cc7ca87a Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/99146 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-26ALSA: HDA: set max_channel only based on LPCM capabilitySumit Bhattacharya
Set maximum supported channels of HDA driver based on the LPCM channel capability of the HDMI device. This is needed because user space decides number of PCM channels to be sent to kernel based on this information. Bug 960940 Change-Id: I59ae3b7d47dcf26f697bfb0877ca24556f0ab1fa Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/94831 Reviewed-on: http://git-master/r/98783 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2012-04-26asoc: tegra: ALC5640 machine:Add support to detect HP in LP0Manoj Gangwal
Add Support to detect the HP insertion or removal during LP0 state. Bug 969405 Change-Id: Ibedf1769338e16877240ea9cc82fa7469eb7ff9e Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/98745 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-26ASoC: Tegra: Make dma_req count easily configurableSumit Bhattacharya
Instead of always using 2 dma_req count pass max dma_req_count through a macro. Ensure dma_req_count does not cross period_count. Bug 968814 Change-Id: Iddfbd77017992ccb8c90441213e191133dadb347 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/97915 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-26ASoC: Tegra: Pass snd_soc_card handle in tegra_asoc_utils_initSumit Bhattacharya
Change prototype of tegra_asoc_utils_init to pass snd_soc_card handle. It is needed to move common tegra machine driver codes to tegra_asoc_utils interface. Bug 968814 Change-Id: I98490ffdda51cf7d0b89adadb23c31892183bc0e Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/97914 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-24hdmi: Set INJECT_NULL_SAMPLE only for stereo streamsSayak Ghosh Choudhury
Bug 953210 Change-Id: Id40b3fe90174a2a8c9a6faf3f35f61d9f7eeb642 Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com> Reviewed-on: http://git-master/r/98477 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-24asoc: tegra: Add TDM mode supportNitin Pai
Added TDM mode support in I2S driver. Added support functions in AHUB to pass audio/client bits. Added support functions in AHUB to pass audio/client channels. Fixed the stopping of I2S/TDM by clearing the fifo. Bug 948478 Change-Id: I246942b3a07ffcfbcfafbc820208190bd3acc5d4 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/98456 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-19ASoC: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I52969e8dd1a5ed4dc76ac360ec08b0afb18cd4a5 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92833 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@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-10asoc: wm8753 machine: use common platform dataRavindra Lokhande
use common platform data for machine driver Change-Id: I90e0d2f47aed46da650305d98f6525287adfaf04 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/95101 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-08asoc: aic326x machine: use common platform dataRavindra Lokhande
replace platform specific data with common platform data Change-Id: Ie34b9b9288bf76a004db0bcdf4fd59845e0c9d71 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/95083 Reviewed-by: Automatic_Commit_Validation_User 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-08ASoC: Tegra: customize modem parameters for voice call.Ankit Gupta
Add support to customize modem parameters for voice call. Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com> Change-Id: I947bf1955713c4ae19e5dd829091bd7e51bca08f Reviewed-on: http://git-master/r/93091 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-04-06asoc: tegra: ALC5640 machine: Fix ext mic detect issueManoj Gangwal
Enable/disable the ext mic depending on the jack notification for insertion/removal comes.This is done to save the Audio power. Bug 955019 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> (cherry picked from commit 7a22037fd4a274637a5bdb18a8c5452fe58aad32) Change-Id: I1a8b47c4e9c424a914f546b48c86a6fb07d8e42a Reviewed-on: http://git-master/r/93956 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-06asoc: tegra: ALC5640 machine: Turn off ext_mic by defaultDaniel Solomon
Drive ext mic gpio (active low) to 1 during init. It will be toggled as needed by ext mic events. Bug 949026 Signed-off-by: Daniel Solomon <daniels@nvidia.com> (cherry picked from commit de806c193fde5cd8c5b0285efeeaef4adb7be611) Change-Id: Idd72830d89ebe080739694d7f2c8f6ad80d5cdf5 Reviewed-on: http://git-master/r/93955 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@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-04-05dmaengine/dma_slave: introduce inline wrappersAlexandre Bounine
Add inline wrappers for device_prep_slave_sg() and device_prep_dma_cyclic() interfaces to hide new parameter from current users of affected interfaces. Convert current users to use new wrappers instead of direct calls. Suggested by Russell King [https://lkml.org/lkml/2012/2/3/269]. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com> cherry-picked from mainline commit 16052827d98fbc13c31ebad560af4bd53e2b4dd5 Change-Id: I929a49556539621a0546829e88b3caa498c94be2 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/94463
2012-04-05sound: soc: tegra: Use tegra_dma_cancel() to abort requestLaxman Dewangan
To terminate request from dma, use the tegra_dma_cancel() inplace of tegra_dma_dequeue(). The api tegra_dma_dequeue() is getting to be obsolete. Change-Id: Id2a888a726086fb1e4ade04ac047442554188bee Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/91754 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-30asoc: tegra: ALC5640 machine: Fix i2s for BT ScoManoj Gangwal
fix i2s for BT Sco. Bug 936626 Change-Id: Iaf1d1a230fcb37d45d9deaaf1dae780f5870e99f Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/92860 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-30ASoC: wm8903: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I8abd1e837a774d15aef25ec8c40b857b8cba0426 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92858 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-30ASoC: Tegra wm8903 machine: Remove regulator error messagePreetham Chandru
Few boards which uses wm8903 has independent regulators for spk and mic while others do not have it. For the boards which do not have independent regulators we should avoid getting their regulators otherwise we would get the following error messages: "tegra-snd-wm8903 tegra-snd-wm8903.0: No speaker regulator found" "tegra-snd-wm8903 tegra-snd-wm8903.0: No digital mic regulator found" Bug 956562 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Ide1ce141b5d45d56e834dc82a7cf5a7adc6c3e80 Reviewed-on: http://git-master/r/91548 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-03-23ALSA: HDA: Return -ENODEV if hdmi_pcm_open() failsSumit Bhattacharya
Return -ENODEV instead of -EAGAIN if hdmi_pcm_open() fails. There is a chance of user space getting hung while trying to open pcm device if -EAGAIN is returned. Bug 949659 Change-Id: If4ff4078d8e0d882859ac97742e7d48d2e6c230c Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/91819 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2012-03-23ALSA:hda: add alsa control for query of deviceSayak Ghosh Choudhury
alsa control is added to facilitate querying dts decode capability of connected device. dts decode capability of the connected device is updated in the ELD buffer. That information is updated in the ALSA control structure. In addition to that, the code is amended to handle other pass through decoder mode support. Bug 943017 Change-Id: If8da7dfb24be3b86592191f5586b70492282b438 Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com> Reviewed-on: http://git-master/r/91813 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>