summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2014-07-25ASoC:Tegra: AHUB connection for BT voice calldaily-2014.08.14.0_rel-tegranote-r8-partnerdaily-2014.08.11.0_rel-tegranote-r8-partnerdaily-2014.08.07.1_rel-tegranote-r8-partnerdaily-2014.08.05.0_rel-tegranote-r8-partnerViswanath L
Provide unconditional DL path for BT voice call Bug 200021925 Change-Id: I9beec87d9d672ddbe946417aed0f393c01a6b29c Signed-off-by: Viswanath L <viswanathl@nvidia.com> Reviewed-on: http://git-master/r/447503 Reviewed-by: Alvin Park <apark@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
2014-06-26sound: Add blacklist for audio devicesJun Yan
Prevent specified audio devices from sending uevents upon connection/disconnection. Bug 1474213 Bug 1466757 Bug 200013027 Change-Id: I532968ed9717dc18db62671deedd60bb4a38463e Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/385931 (cherry picked from commit 553636416a0700b354385d7a508d67653814272d) Signed-off-by: Kenneth Kwak <kkwak@nvidia.com> Reviewed-on: http://git-master/r/428777 Reviewed-by: Alvin Park <apark@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com>
2014-06-08ASoC:Tegra: DAM and AHUB configuration for BT-SCOViswanath L
BT-SCO playout from application is routed as below: - directly to I2S when there is no call - via DAM when there is an active call DAM channel 1 (used above) is configured correctly Bug 1506177 Change-Id: I608be794bd70a85a0978a73cfc93a4a48b69abd0 Signed-off-by: Viswanath L <viswanathl@nvidia.com> Reviewed-on: http://git-master/r/417751 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lei Fan <leif@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2014-05-27tn7c: increase audio codec delay to 450msximingc
Realtek codec rt5639 needs 400ms delay between signal LDO1_EN and Initial. Previous 200ms is not enough, increase it to 450ms Bug 200005748 Change-Id: I0a11ed8dd064d720631dc6f09de220e87a529a1a Signed-off-by: ximingc <ximingc@nvidia.com> Reviewed-on: http://git-master/r/415164 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gabby Lee <galee@nvidia.com>
2014-04-24ASoC: Tegra: Enable wake source of HP GPIOLei Fan
Enable the GPIO for headset detection work as LP0 wake source. Bug 1499477 Change-Id: I91ae32f8d687f3de4548b23464072e24adacb201 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/396887 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-04-06Revert "Asoc: ALC5639: ALC5640: Fix HS det. issue in BIAS OFF state"Simon Je
This reverts commit 5c7cb1dd558fa95521cce4416976157bc13f9d9a. Bug 1470687 Change-Id: I5b0b47e5cd109607e6e8c98355a3deacd3093b52 Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/391142 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Harry Hong <hhong@nvidia.com>
2014-04-06asoc: tegra: close DAM links after voice callVijay Mali
Bug 1489970 Change-Id: I8c2e13b5671cfa9f8d3c1237ae81c2195fea613f Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/390835 GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2014-03-25ASoC:Tegra: Close BT-SCO audio path for ToneLei Fan
Then audio path for tone is not disconneted during voice call and it will cause error at the end of the next voice call. Bug 1476086 Change-Id: I586e008145370e26b93aa11ebcb70e7efc361015 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/385447 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-03-25asoc: tegra: ingnore dapm timeout for voice DAIsVijay Mali
Bug 1476086 Change-Id: Ia368e64b59d601124b33abaa4b53aa7f6d321d44 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/384203 Reviewed-by: Lei Fan <leif@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-03-11tegra:fairfax Avoid EDP effect for Headsetericz
For Fairfax, when EDP disable, headset interface still need exported. Change-Id: Ib614c2940f67e18e95dcb2db4479ca841e6deb5d Signed-off-by: ericz <ericz@nvidia.com> Reviewed-on: http://git-master/r/379869 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-03-10Asoc: tegra: Fix audio mixing issueVijay Mali
There is hardware issue in t114 & t124 DAM. It does not handle mixing and down sampling simultaneously. This a work around to use 2 DAM for doing SRC and mixing separately. Bug 1472784 Change-Id: I67f04682b1807243800e757b548481928dd2720a Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/378389 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lei Fan <leif@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2014-03-04asoc: tegra: ignore delayed close of audio devicesVijay Mali
Ignore dapm delayed shutdown for music and voice devices.This helps close voice and music streams immediately after pcm-close. Delayed shutdown causes disabling dapm paths that are used by other devices. Bug 1468201 Change-Id: I7c0fdf8eceb26839c0cc083d17b741b593aa9761 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/377143 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Lei Fan <leif@nvidia.com> Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-02-23ASoC:Codec: decrease pop in callLei Fan
Pop can be heard when we switch device form speaker to headset during voice call. From: codec vendor Data: 2/20/2014 Bug 1430498 Change-Id: Ib872196406bf669ca2b3ef5c35d0d8e91cb908fe Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/369804 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Rui Zhuo <rzhuo@nvidia.com> Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-02-23ASoC:Tegra: use DAM for BT-SCO playbackLei Fan
Add DAM for BT audio path even there is no voice call. Because of race condition, it is difficult to check device is in BT call or not. So tone will break voice call path sometime. Bug 1461765 Change-Id: Iabc3dfc59a570f0c58a66937fc94b65626f332a7 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/369937 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-02-13tegra:fairfax: Enable TI AMP for headsetericz
Bug: 1430485 Change-Id: Idc2fca3edcc7205ac9e80e9a8f419920b818b1a7 Signed-off-by: ericz <ericz@nvidia.com> Reviewed-on: http://git-master/r/360343 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Simon Je <sje@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2014-02-04Asoc: ALC5639: ALC5640: Fix HS det. issue in BIAS OFF stateManoj Gangwal
- This is the fix for the IRQ based headset detection in BIAS OFF state. - Change the min codec state to BIAS OFF when it is in idle. Bug 1449567 Change-Id: Ib3e701af106d6be5b005f93ba997021e8c6bfda8 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/361351 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-02-02ASoC:Tegra: Add BT control interface for HALLei Fan
Sometime the BT voice call cannot be broken because the method has bug which is used to judge current call is BT call or not. In fact we can make HAL use other control to set BT voice call. Bug 1443353 Change-Id: I45f7cf876b4e7e53e94aab0a4984bb95d4885701 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/360827 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-14soc: codecs: rt5639: Implement i2c shutdownNine Feng
i2c shutdown implementation for rt5639 No i2c transaction should happen after shutdown Bug 1431674 (cherry-pick from d17a5403140a45e43cb21cffe6cf391a2e3abe62) Reviewed-on: http://git-master/r/188216/ Change-Id: Iadc18d8e84a10b2735503c99c4b7003e275e4242 Signed-off-by: Nine Feng <nfeng@nvidia.com> Reviewed-on: http://git-master/r/353242 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-12ASoC:Tegra: Add BT-SCO initialize functionLei Fan
The initialize function for BT-SCO should be add, otherwise ther DL audio path will be broken by BT Tone. Bug 1428578 Change-Id: I3870b0134871a7ad95b704adabae5de836d3545d Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/353694 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-01-12ASoC:Tegra:dual mic supportLei Fan
In order to use dual mic to support nvoice, DAMs should be removed form UL and playback should use channle0 of DAM in DL to make SRC not channel1 again. Bug 1431667 Change-Id: I88d53d315a2d0a6aa74e414861af54061763d2ac Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/352587 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-01-12ASoC:Tegra: Fix DAM num to a specific DAPLei Fan
DAM should fix to a specific DAP, otherwise voice call cannot be ended normally. Change-Id: I60553e903a2f425bc9e9e1c245f77dfd5d3058b4 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/351993 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-12soc: tegra: rt5640: set DAI link for E1569-ERSYong Goo Yi
Set DAI link properly for E1569-ERS rt5640 codec Bug 1432502 Bug 1432488 Change-Id: I5c91d0cc842fccb45175180da3a86e4651bd2534 Signed-off-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-on: http://git-master/r/353677 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-06asoc: rt5639: fix null pointer expection.Harry Hong
if codec structure doesn't have hw_read(), skip calling it in rt5639_codec_show. Bug 1433596 Bug 1434588 Change-Id: I4e7d33d8f01e54b476e1b084a256f2b525a9b23f Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/352132
2014-01-02ASoC: Tegra: Fix the issue about capture clockLei Fan
During a capture, playback_ref_count will be 0 and capture_ref_count will be 1, the clock tree will not be set. But it needs to be set. Bug 1429860 Change-Id: Ib40d757d56d7093da92a12ba355d0003d8a1564d Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/351106 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Danny Song <dsong@nvidia.com>
2014-01-02ASoC: Tegra: Softreset RXCIF when it is disabledLei Fan
Sometime the rxcif of AHUB will have some residual bits, because the rxcif is in incorrect state, it may cause that capture app cannot get any data form DAP.The issue can be solved by resetting the rxcif when it is disabled. Bug 1389711 Bug 1429860 Change-Id: I10aa37de6ea0c78d85ce30e6b5538e06ff77d5b5 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/351105 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Danny Song <dsong@nvidia.com>
2013-12-31asoc:tegra: correct the codec name and its daiLei FAN
The codec name and its dai name is not right, it will cause the sound card not to be registered. Bug 1410909 Change-Id: Ibbde3be3182e839cccc69fd5df90d5e745530c1a Signed-off-by: Lei FAN <leif@nvidia.com> Reviewed-on: http://git-master/r/347105 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/350644 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-12-31asoc: tegra: Add kernel driver for voice callLei Fan
Add voice call support for tegranote7c, so that there are some voice call devices for calling in sound card. Bug 1410909 Bug 1418728 Change-Id: I2c34d1d5bad9f6f30a497a6673bb5b7f2d8c0ff3 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/344769 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/350642 GVS: Gerrit_Virtual_Submit
2013-10-06asoc: rt5639: Set Speaker OVCD to defaultSimon Je
Set the speaker over-voltage protection value to the power on reset value. Set OVCD to low value when audio is not playing. Make sure codec mclk is enabled when writing the codec registers. Change-Id: Ib673d667af54f3b4fd7bf3183cbde1759838ae4a Signed-off-by: Scott Peterson <speterson@nvidia.com> Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/274022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com> (cherry picked from commit 2e0cd932ce9c116b5a0e07a3ce5ad865a63121b3) Reviewed-on: http://git-master/r/281662
2013-10-06asoc: rt5639: Test mode initializationScott Peterson
Make sure that test mode is not left enabled when powering up the codec. Change-Id: Ie3643220c81764f4f26903c7e88812150f2fc223 Signed-off-by: Scott Peterson <speterson@nvidia.com> Change-Id: I1e3b216f84f87f36d05c9693f9a97d0444b68718 Reviewed-on: http://git-master/r/273276 Reviewed-by: Simon Je <sje@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> (cherry picked from commit fdaf1ff6e1d21bf00a53ee76b33cd08c3dc9106e) Reviewed-on: http://git-master/r/281661 Tested-by: Gabby Lee <galee@nvidia.com>
2013-10-06asoc: codecs: rt5639: switch codec system clockSimon Je
We need to switch the codec system clock to internal clock only when bias level is OFF when plugggin earjack. Bug 1340840 Change-Id: I01ad0ccff952c1f811d24cb22fde70192753d77e Signed-off-by: Simon Je <sje@nvidia.com> (cherry picked from commit a438685c653c1cd79d1edb057a678276f2dc7cfe) Reviewed-on: http://git-master/r/281660 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2013-08-14Merge branch 'linux-3.4.57' into rel-17Deepak Nibade
Bug 1348440 Change-Id: If25c49f027dc2a69642f7ed4733e965962b2a5a2 Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
2013-08-11ALSA: compress: fix the return value for SNDRV_COMPRESS_VERSIONVinod Koul
commit a8d30608eaed6cc759b8e2e8a8bbbb42591f797f upstream. the return value of SNDRV_COMPRESS_VERSION always return default -ENOTTY as the return value was never updated for this call assign return value from put_user() Reported-by: Haynes <hgeorge@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-04ASoC: wm8962: Remove remaining direct register cache accessesNicolin Chen
commit 2e7ee15ced914e109a1a5b6dfcd463d846a13bd5 upstream. Also fix return values for headphone switch updates. Signed-off-by: Nicolin Chen <b42378@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-04ASoC: max98088 - fix element type of the register cache.Chih-Chung Chang
commit cb6f66a2d278e57a6c9d8fb59bd9ebd8ab3965c2 upstream. The registers of max98088 are 8 bits, not 16 bits. This bug causes the contents of registers to be overwritten with bad values when the codec is suspended and then resumed. Signed-off-by: Chih-Chung Chang <chihchung@chromium.org> Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-31ASoC: Tegra: Use modem clock to driver codecLei Fan
If modem is working as master device for T114, we need to use modem clock to drive codec, otherwise vioce will be discontinuous. And The flow control should be enabled to avoid losting voice in UL. Bug 1299544 Change-Id: I7b60258e14bc0fae4d9d4fc9ca248cd6f6378faa Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/249603 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-07-28ALSA: usb-audio: 6fire: return correct XRUN indicationEldad Zack
commit be2f93a4c4981b3646b6f98f477154411b8516cb upstream. Return SNDRV_PCM_POS_XRUN (snd_pcm_uframes_t) instead of SNDRV_PCM_STATE_XRUN (snd_pcm_state_t) from the pointer function of 6fire, as expected by snd_pcm_update_hw_ptr0(). Caught by sparse. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-28ASoC: sglt5000: Fix SGTL5000_PLL_FRAC_DIV_MASKFabio Estevam
commit 5c78dfe87ea04b501ee000a7f03b9432ac9d008c upstream. SGTL5000_PLL_FRAC_DIV_MASK is used to mask bits 0-10 (11 bits in total) of register CHIP_PLL_CTRL, so fix the mask to accomodate all this bit range. Reported-by: Oskar Schirmer <oskar@scara.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-25ASoC: Tegra: Enable ahub clock during dumping DAM REGsLei Fan
The Ahub clock should be enabled during dumping DAM REGs as like as dumping I2S REGs, otherwise the system will be blocked if there is no playback, capture or voice calling. Bug 1300176 change-Id: I062ad70842094ef6cc28164d84b4205ea0107bf6 Signed-off-by: Lei Fan <leif@nvidia.com> Reviewed-on: http://git-master/r/251874 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2013-07-23asoc: codecs: patch from Realtek to detect headphoneSimon Je
Bug 1324680 Change-Id: Ia33d76a3a10bb12872e6c5bfae254f50538ee930 Signed-off-by: Simon Je <sje@nvidia.com> (cherry picked from commit 896d664b4c3c7dbbcd8dd5875c73f80e49a21c01) Reviewed-on: http://git-master/r/250757 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2013-07-23soc: tegra: rt5640: support speaker volume edp tableSimon Je
To support different gains of volume edp for each platform in single machine driver, add edp_vol table to tegra_asoc_platform_data, and add edp_vol values to tegratab and macallan board file. Bug 1321224 Change-Id: Ia74c17dcc3eabe27d3d6356d6d0e51b2623976b1 Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/250746 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-07-15 asoc: codecs: rt5639_ioctl: Fix warning messagesPhilip Rakity
Change-Id: I87a039c3f662b8aa99b6fe8340c6769b03427fca Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/246637 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-07-15sound: soc: rt5639: Remove compile warnings.Philip Rakity
delete unused code. EXPORTED function that is deleted is not used and in any case type defintion warning probably means it would not work. Change-Id: I8d71555e919f76ca0932e452edf384f7d18f2e35 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/246051 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-07-10 sound: soc: rt56xx: Fix compiler warningPhilip Rakity
missing #include <linux/module.h> Change-Id: I760ce2c55f3c1bc22821e583f1c8fce2d2ab74f4 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/245846 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-07-09asoc: codec: spdif: Remove Compiler WarningPhilip Rakity
use correct return type per struct unsigned int -- not int Change-Id: Ia7a95cba5c983011a3215939bdd0f4ee88fabaf2 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/245592 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-06-27ALSA: usb-audio: work around Android accessory firmware bugClemens Ladisch
commit 342cda29343a6272c630f94ed56810a76740251b upstream. When the Android firmware enables the audio interfaces in accessory mode, it always declares in the control interface's baInterfaceNr array that interfaces 0 and 1 belong to the audio function. However, the accessory interface itself, if also enabled, already is at index 0 and shifts the actual audio interface numbers to 1 and 2, which prevents the PCM streaming interface from being seen by the host driver. To get the PCM interface interface to work, detect when the descriptors point to the (for this driver useless) accessory interface, and redirect to the correct one. Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr> Tested-by: Jeremy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-27ALSA: usb-audio: Fix invalid volume resolution for Logitech HD Webcam c310Takashi Iwai
commit 36691e1be6ec551eef4a5225f126a281f8c051c2 upstream. Just like the previous fix for LogitechHD Webcam c270 in commit 11e7064f35bb87da8f427d1aa4bbd8b7473a3993, c310 model also requires the same workaround for avoiding the kernel warning. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=59741 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-21asoc: rt5640 codec: Fix compilation warnigsVijay Mali
Remove unused variables Bug 1274537 Change-Id: I9ca17020c101fa56bcb829d9a9fc71b0d78cc96f Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/240866 GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-06-13asoc: tegra: add use_codec_jd_irq to allow AP to be able to use codec irqSimon Je
Bug 1287224 Change-Id: I1e9d76cd1a6a0d3a0f90c7453afa98387e5129f3 Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/237530 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-06-13asoc: codecs: add codec irq init to detect jackSimon Je
add codec irq init func in order to trigger interrupt to AP when hotpluging jack Bug 1287224 Change-Id: Iff617a74ef50f7833e270be84d308208129f83eb Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/237173 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-06-13asoc: tegra: Add reset for SPDIF controllerRahul Mittal
Add soft reset for SPDIF Since SPDIF soft reset does not work for T11x, added WAR proposed by HW to reset spdif controller Bug 966770 Change-Id: Ifd871c585aae3c25f8dc9416e596c7a176e1ea3e Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/236300 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>