summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2011-08-30ARM: tegra: hda: Fix kernel panic during HDMI plugSumit Bhattacharya
Set HDMI audio frequency source from HDA driver during hotplug-in of HDMI device instead of restarting HDA alsa stream. Bug 861185 Change-Id: I36dc7a0debd5caebbf1287e5cf5cedfd1cd36dbf Reviewed-on: http://git-master/r/49868 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-25Asoc: tegra: wm8903: increase mic gainNikesh Oswal
increase gain for digital mic Bug 865954 Change-Id: I832a0703ffba27eb8d8b665edf432239c7628711 Reviewed-on: http://git-master/r/49138 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-25Asoc: tegra: cardhu: bt-sco bringupNikesh Oswal
bt-sco was broken because i2s dai was wrongly configured in machine driver and there were also issues with setting i2s bit clock Bug 864984 Change-Id: I950bc92633c884180c0d48bc3654d576b8529734 Reviewed-on: http://git-master/r/48883 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-24asoc: tegra: add earpiece supportRavindra Lokhande
fixes bug 861141 Change-Id: I3b2d68c3a1d999edce0b228b99c3b633addaedab Reviewed-on: http://git-master/r/48125 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
2011-08-19arm: tegra: Fix HDA suspend-resumeSumit Bhattacharya
azx chip should be stopped during HDA suspend and during resume NV HDA controller should be initialized first before initializing azx chip. Bug 827122 Change-Id: Ifdfb5d041571eab00cad44d8609f8c80af939bc3 Reviewed-on: http://git-master/r/48167 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-18asoc: tegra: bt-sco voice call on enterpriseNikesh Oswal
1. add code for bt-sco voice call support 2. also disable the earlier bt-sco playback path which directly connected apbif->i2s instead playback path is changed to apbif->dam->i2s, it would help in mixing system sound and it also simplifies connection issues during and after voice call Bug 864984 Change-Id: I46195c250a99ecae8e1066d9b60deaf6d480e7ad Reviewed-on: http://git-master/r/47552 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-18asoc: tegra: bt-sco bringup on enterpriseNikesh Oswal
add code for bt-sco playback and record support Bug 864984 Change-Id: I003b58f333bcba371129a9069c2b453e1e8380c0 Reviewed-on: http://git-master/r/46084 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-08-17ASoC: tegra: Fix WM8753 soc codeSumit Bhattacharya
Hardcode I2s bit clock to 2.8224 MHz for HIFI playback/capture and to 512 kHz for Voice codec playback/capture to prevent playback audio noise issue. Fix the headphone detection reporting code. Add all dai link connections supported by whistler in WM8753 dai link table. Bug 864892 Change-Id: I4e3ed93c4f100aa7c7703ee6f505c51016a4e26b Reviewed-on: http://git-master/r/47564 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-16ASOC: tegra: Disable/Enable wired jack IRQShridhar Rasal
Disable/enable wired jack interrupts while going into suspend/resume. Bug 854830 (cherry picked from commit 281195dd5892134bb1fe174c0f2955dbe926412b) Change-Id: Ie9197cf709f78e5e8e3d6ac2038b9bf0425dfc30 Reviewed-on: http://git-master/r/47308 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-08-16arm: tegra: Fix spdif init from socVinod G
Add code to pas spdif init information from soc Cleanup the code for checking the device type before calling das function. Change-Id: I2261dc51c1e231ba350dd92e2aa60981523311fc Reviewed-on: http://git-master/r/47157 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-12ASoC: Tegra: Use unique card nameSumit Bhattacharya
Bug 862023 Change-Id: Ib8fd1f35889d7f6a081b47df51b66c3d06e53f8d Reviewed-on: http://git-master/r/46618 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Nitin Pai <npai@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-05sound: max98088: disable irq line when suspendedWen Yi
The jack detection irq line was kept alive after suspend command has been issued to the max98088 and caused device to fail to enter suspend mode. BUG 859822 Change-Id: I9407508788aa5aafa82774d4930653caa9a5b5b1 Reviewed-on: http://git-master/r/44884 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-08-02tegra: alsa: add new pcm device for voice callRavindra Lokhande
added new pcm device with dummy cpu dai and Hifi codec dai for voice call. Removed unused functions and pins from machine driver file. fixes bug 857654, 857636 Change-Id: Ib90db22a1482af6afdf7ff76c6ff8e859bcd6790 Reviewed-on: http://git-master/r/44571 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-01ASOC:tegra: Set debounce time to 200msChandrakanth Gorantla
Fixes toggling between digital and analog mike Bug 857654 Change-Id: I87eecf1168a4e8c4358dedc0fa643ec8756b57db Reviewed-on: http://git-master/r/44340 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-08-01ASOC: tegra: Add I2S slave supportScottPeterson
Add support for I2S slave mode to alsa driver Change-Id: Id463cb22f57db64f7d6f5859f87ece91424be8cb Reviewed-on: http://git-master/r/43099 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-08-01asoc:tegra: Add digital mic controlScottPeterson
Add a control to the max89088 driver to control enabling the digital mic. Change-Id: Idd654a8c7bd369e3d5d0b4166ebf1fe9084d52d1 Reviewed-on: http://git-master/r/44145 Tested-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-08-01tegra: alsa: Add support for generic dit codecNitin Pai
Add support for Generic Codec Driver Add support for Generic Codec SOC Driver Signed-off-by: Nitin Pai <npai@nvidia.com> Change-Id: I3fbe2fbe8a559dbfa1de6d73bec0c5035681051a Reviewed-on: http://git-master/r/43946 Tested-by: Nitin Pai <npai@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Songhee Baek <sbaek@nvidia.com>
2011-07-29ASOC: tegra: Power off max98088 codec in idleChandrakanth Gorantla
When device doesnt play audio power off codec and disable extern1 clock to save power. Bug 853161 Change-Id: I4392dc56e5f597566075f99a034e697bf56176ab Reviewed-on: http://git-master/r/43980 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
2011-07-27arm: tegra: Restart PCM stream during hot-plug inSumit Bhattacharya
If HDMI driver is restarted in middle of audio playback due to display resolution change or any other reason HDA goes to bad state causing audio to be muted. Whenever HDA driver gets hotplug notification in middle of audio playback restart alsa pcm playback stream. Bug 854284 Change-Id: Ia5af1e503faa7e501287a714c371df073cc31f2e Reviewed-on: http://git-master/r/43233 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-26ASOC: tegra: Disable wired jack IRQShridhar Rasal
Added suspend for tegra_wired_jack. Disable tegra_wired_jack GPIO interrupts while going into suspend and enable in resume. Bug 827709 Change-Id: I1f5fd0e0adb437de883a5f897acd22c514e172cb Reviewed-on: http://git-master/r/40363 Reviewed-on: http://git-master/r/42534 Tested-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-25tegra: alsa: fix headset detection after bootupRavindra Lokhande
if headset is connected during bootup then it was not detected, need to call handler function first time inorder to get status of jack detection during bootup. Change-Id: I39537ac071413717c34e0b13c8527a040c82521e Reviewed-on: http://git-master/r/43063 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2011-07-22tegra: alsa: Added support for I2S TDM modesNitin Pai
Added DAS functions to do custom connections where routing is not involved. Added support for the tegra_pcm_tdm_hardware for handling the latency. Addded support for the tegra_soc driver for AD1937 Codec Made generic codec dais to be common for all platform of Tegra Change-Id: I20a513f27f39273064ce90b973014c418e6d1362 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/42360 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-22tegra-alsa: headset detection logicNikesh Oswal
added headset and headphone detection logic for maxim 98088 codec on enterprise board Bug: 836629 Change-Id: I5405b52fbd81042816bc2a1d288f5fc32274f2b5 Reviewed-on: http://git-master/r/40774 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-22ASOC: tegra: Acquire wake_lock during play/captureSumit Bhattacharya
Acquire wake_lock from alsa kernel when pcm playback/capture starts and hold it until playack/capture ends. It is needed to prevent device from going into suspend state in middle of audio playback. Bug 827122 Change-Id: I25359f24dafda657756a3c2904d46e14b6675e7c Reviewed-on: http://git-master/r/42336 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-20ASOC: tegra: cardhu: Enable stereo recording through micManoj Gangwal
Fix issue of right channel remains silent while stereo recording through camera app. Bug 851206 Change-Id: Ia6e4410ad9fea8ed14b7891ee6f66e602f782d47 Reviewed-on: http://git-master/r/41821 Tested-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-19sound: soc: tegra: correct asoc pin connectionRavindra Lokhande
corrected pin connection. Removed unused pins. Added missing sample rates for i2s. Change-Id: Ib12e9f5ee65c77b091e1d38107a83218c52f87d5 Reviewed-on: http://git-master/r/41550 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-12arm: tegra: disable HDA clocks while not in useSumit Bhattacharya
Disable HDA related clocks when device is not connected to HDMI. HDA clocks will be enabled from HDMI driver when HDMI device is hot plugged. Also register a reboot notifier so that HDA clocks can be enabled during device reboot since HDA driver needs to stop the azx chip during reboot. Bug 820213 Change-Id: Ib962ac418edf25c5681f108b9a80577dc55c42af Reviewed-on: http://git-master/r/40543 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08ASOC: tegra: Correct DAPM routes for Headset and Int micViraj Karandikar
Split Headset to Headset Out and Headset In Use IN1L for Int mic and Headset (for WM8903) Remove unused variables and warning Bug 846205 Reviewed-on: http://git-master/r/30142 Tested-by: Viraj Karandikar <vkarandikar@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Manjula Gupta <magupta@nvidia.com> Tested-by: Anssi Kalliolahti <akalliolahti@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> (cherry picked from commit 170ccc20d6227faaf196a920e7812792c305e2ff) Change-Id: Iccf1736c4ba0d273c3c832d563374fc0afc63616 Reviewed-on: http://git-master/r/39374 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08Revert "arm: tegra: disable HDA clocks while not in use"Sumit Bhattacharya
This reverts commit c242bcd738fa47f833822f618eff4dbff092bde7. Bug 820213 Bug 839572 Change-Id: I268a8c099ef75cd38b84aa31e35ab6417745cc10 Reviewed-on: http://git-master/r/40031 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-07arm: tegra: use DAM for playback pathVinod G
DAM rx1 is used for playback path. DAM is added as default so for voicecall no need to teardown the existing connection that is being used. Needed for bug 804696 Change-Id: Iba4cec350595a32dfd71ede9e224620ebe84b1ba Reviewed-on: http://git-master/r/38676 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-06ASOC: tegra: use continuous single DMA modeSumit Bhattacharya
Use continuous single DMA mode instead of continuous double to reduce the number of CPU interrupts during audio playback. bug 840372 Change-Id: Id15dac5e2b29c612f4851b6b1d2e675b79ca047c Reviewed-on: http://git-master/r/39855 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-06-15arm: tegra: disable HDA clocks while not in useSumit Bhattacharya
Disable HDA related clocks when device is not connected to HDMI. HDA clocks will be enabled from HDMI driver when HDMI device is hot plugged. Bug 820213 Change-Id: I4e6839aab0dc5277b11c415cbb495766f72442b8 Reviewed-on: http://git-master/r/36517 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-14Revert "arm: tegra: DAM is added to default path."Ravindra Lokhande
This reverts commit ba038f38e6c0edd77dc65c28324ddd18185389fb. It caused regression in camcoder usecase. fixes bug 835818 Change-Id: I008a27d70b4e7066ec12f7d66d9d60e66ace0447 Reviewed-on: http://git-master/r/35434 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Zhijun He <zhhe@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-03arm: tegra: DAM is added to default path.Vinod G
bug 804696 DAM ch1 is added to default playback and record path. DAM is added as default so for voicecall no need to teardown the existing connection that is being used. Change-Id: Iecfa01a8d55d13928ee2ae6bd490eb3d28b679c3 Reviewed-on: http://git-master/r/32479 Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-01sound: soc: tegra: add dai for i2s_device0Tom Cherry
Change-Id: Ib0662de97f4f98461f1003747340bb9e16f96ebb Reviewed-on: http://git-master/r/34258 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
2011-06-01sound: soc: tegra: maxim 98088 codec integrationTom Cherry
Change-Id: Ie8c616482017c869cd46b8100f0428c1f92a3bcf Reviewed-on: http://git-master/r/34238 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
2011-05-18arm: tegra: Fix suspend/resume hangVinod G
Spdif driver resume was causing issue on resume stage. Change-Id: I25c0d52889c4ff1b029053f744bee32023cf1a8f Reviewed-on: http://git-master/r/32070 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-17arm: tegra: Add audio manager common interfaces.Vinod G
Audio manager common interfaces are defined to be called from SOC code. Audio manager will make the decision which all modules to be controlled based on use case connection. Correction added to the speaker amp and i2c gpio is provided for controlling the speaker amplification. Removed the speakersetting call. Change-Id: Id2c7f953fc78f66bee2e1d4773e03548de0ba5b4 Reviewed-on: http://git-master/r/30891 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-13arm: tegra: Exposing more i2s port for Baseband.Vinod G
Exposed the baseband i2s port for cardhu. Added separate audio init function. Change-Id: I9ff38f101c5540ad6e2365ed93a8c88373164ea3 Reviewed-on: http://git-master/r/30087 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
2011-05-05arm: tegra: Add support for I2S LoopbackDara Ramesh
Added the control code to enable/disable I2S Loopback accordingly. Bug 725009 Change-Id: I3f172ef303dd4c6ac5bc41277e13e5405234a77e Reviewed-on: http://git-master/r/30221 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05tegra: alsa: enable speakerRavindra Lokhande
fixes bug 822278 Change-Id: I4444e3786660ab1402469543c0bc04020d4c5021 Reviewed-on: http://git-master/r/30234 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-05-05ASoC: Add max98088 codec driverJin Park
Add max98088 codec driver what backported from 2.6.38 kernel. Bug 816789 Change-Id: I5a0f6cfa0b29bd1f469ceb1e1d1d9e6634f7bed5 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/30337 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-05-03tegra alsa: Audio BT SCO supportRavindra Lokhande
added support for audio BT sco usecase. For BT sco, i2s is programmed in pcm mode. Change-Id: Iffcfb707cd2c025b78b82e70ba35f89d47a21263 Reviewed-on: http://git-master/r/30042 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-29arm: tegra: fix audio issueVinod G
bug 820773 Fix the audio issue resulted from code merge. Change-Id: I37999fabec7de077eac337db33eb2b01939349fc Reviewed-on: http://git-master/r/29684 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-28fixup: arm: tegra: Fix suspend/resume issue for spdifDan Willemsen
Original: http://git-master/r/28520 Change-Id: Ic6258c9a745e83595510789a6ed4c71c317ce1ba Reviewed-on: http://git-master/r/29577 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-26sound: Changes for Tegra3Dan Willemsen
Change-Id: I25391126c593bd4738800c03bf3a65a0aa62ba92
2011-04-26sound: tegra: remove i2s resourcesDan Willemsen
Change-Id: Ieaa90cf40a7a5e190b73f83b6a17f43908377af4
2011-04-26arm: tegra: dma: Adding client name with dma allocation.Laxman Dewangan
By changing the dma allocation API to take the client name, it is easy to track who is allocated the DMA channels when we run out of the DMA channels. Original-Change-Id: I016011cfd74089fed0da1bc0f121800017ce124a Reviewed-on: http://git-master/r/28031 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Change-Id: I048bcb87f95ee6d8ad2fdce993a1758dc5071666
2011-04-26arm: tegra: Fix suspend/resume issue for spdif.Vinod G
bug 793875 bug 818490 Merge spdif soc code from dev_hc. Add clock and power mode calls to spdif Fix the system suspend/resume issue caused by audio modules. Original-Change-Id: Ie6d9c1e52596fa744dff893fd7340c1fa2f0f058 Reviewed-on: http://git-master/r/28520 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I367a048727b5fbe1a8db70a140b6ed1d752cd3a5
2011-04-26arm: tegra: correct the i2s clockingVinod G
Rearrange the i2s clock code so that it will be handled properly using the audio_manager code. Mclk code is moved to audio_manager from soc. bug 804696 Original-Change-Id: Icf9e823154cf3b5a63426944c4864a413df82213 Reviewed-on: http://git-master/r/27255 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Change-Id: I8acd9c5d5389b3d4ca574bd62a392c56fdfa35b7