summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2019-09-06apalis-tk1: fix record/playback for sgtl5000 codecOleksandr Suvorov
According to the manual [1], SYS_MCLK should base on SYS_FS, not on sample rate. Calculating SYS_MCLK using sample rate only prevents playing/recording samples with rate < 16 kHz: --------------------------------------------------------------- root@apalis-tk1:~# aplay test-8k-sample.wav Playing WAVE 'test-8k-sample.wav' : Signed 16 bit [...] tegra-snd-apalis-tk1-sgtl5000 tegra-snd-apalis-tk1-sgtl5000.0: ASoC: machine hw_params failed: -22 Little Endian, Rate 8000 Hz, Stereo aplay: set_params:1403: Unable to install hw params: ... --------------------------------------------------------------- Using the helper from sgtl5000.h fixes this issue. To keep determination of sys_fs solid, use a helper in device driver. [1] https://www.nxp.com/docs/en/data-sheet/SGTL5000.pdf Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-09-06ASoC: sgtl5000: add helpers to calculate mclkOleksandr Suvorov
Calculate SYS_MCLK using sample rate or SYS_FS. These helpers allow to simplify a code to set up external system clock for different sample rates. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-09-06ASoC: sgtl5000: Add ADC switch controlOleksandr Suvorov
This makes able to switch ADC on automatically when recording starts. Commit 6b01f0b022a (Fix enabling ZCD for HP and ADC) fixes initial setting of SGTL5000_CHIP_ANA_CTRL, keeping muted HP, DAC and ADC blocks on probing device. HP and DAC mute issue was fixed with 60f67ac489 (Add on/off control for HP/LINE out). This commit fixes ADC mute issue in the same manner as HP/DAC. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-16ASoC: sgtl5000: Heavy anti-pop workOleksandr Suvorov
Add handlers for HP/DAC/ADC power on/off event. Mute outputs on power on/off of any chip block to avoid pops. Improve logic for VAG to power on/off to avoid muxing pops. Fix DAPM widgets' definitions to use new handlers. Related to: #48500 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Add on/off control for HP/LINE outOleksandr Suvorov
- adding mute/unmute controls for headphone and lineout allows alsa-compatible sound players automatically unmute output port to play music. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Fix leading and trailing popsOleksandr Suvorov
- increase trailing delay after VAG power down to reduce trailing pop; - mute HP/LINE output before VAG power up. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Fix setting power registersOleksandr Suvorov
- set VDDD voltage ONLY if use internal ldo regulator; - assign manually the source of charge pump ONLY if automatic selection can't perform. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Fix enabling ZCD for HP and ADCOleksandr Suvorov
- change HP_ZCD_EN/ADC_ZCD_EN bits only in CHIP_ANA_CTRL register. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Fix control of SMALL_POPOleksandr Suvorov
- define the SMALL_POP as a 1-bit mask, not value; - properly set the SMALL_POP on device probing. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Fix possible dereference crashOleksandr Suvorov
- ldo_regulator_remove() doesn't reset sgtl5000->ldo so it is possible to dereference members of previously freed struct ldo. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-03ASoC: sgtl5000: Name mux control correctlyOleksandr Suvorov
- Name headphone mux related data objects correctly. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-05-02ASoC: sgtl5000: Don't fallback to ldo regulatorOleksandr Suvorov
- the code to fallback to internal ldo regulator instead of external vddd is completely wrong. According to TDM and Errata of sgtl5000 chips revision < 0x11 strongly need to use external vddd due to ER1. For chips revision >= 0x11 there is no limitation to use either external vddd or internal ldo regulator. - fix logical error in cleanup sequence. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-04-26ASoC: sgtl5000: Fix SMALL_POP bit definitionFabio Estevam
commit c251ea7bd7a04f1f2575467e0de76e803cf59149 upstream On a mx28evk with a sgtl5000 codec we notice a loud 'click' sound to happen 5 seconds after the end of a playback. The SMALL_POP bit should fix this, but its definition is incorrect: according to the sgtl5000 manual it is bit 0 of CHIP_REF_CTRL register, not bit 1. Fix the definition accordingly and enable the bit as intended per the code comment. After applying this change, no loud 'click' sound is heard after playback Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
2019-04-26ASoC: sgtl5000: prevent playback to be muted when terminating concurrent captureLothar Waßmann
commit f091f3f07328f75d20a2a5970d1f8b58d95fc990 upstream When a sound capture/playback is terminated while a playback/capture is running, power_vag_event() will clear SGTL5000_CHIP_ANA_POWER in the SND_SOC_DAPM_PRE_PMD event, thus muting the respective other channel. Don't clear SGTL5000_CHIP_ANA_POWER when both DAC and ADC are active to prevent this. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2019-04-26ASoC: sgtl5000: Fix VAG_POWER enabling/disabling orderMarek Vasut
commit dd4d2d6dfb49e8916064f2cb07f0ad7b32a82fb7 upstream The VAG_POWER must be enabled after all other bits in CHIP_ANA_POWER and disabled before any other bit in CHIP_ANA_POWER. See the SGTL5000 datasheet (Table 31, BIT 7, page 42-43). Failing to follow this order will result in ugly loud "POP" noise at the end of playback. To achieve such order, use the _PRE and _POST DAPM widgets to trigger the power_vag_event, where the event type check has to be fixed accordingly as well. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2018-06-21Merge tag 'tegra-l4t-r21.7' into toradex_tk1_l4t_r21.7-nextMarcel Ziswiler
Merge NVIDIA's latest Linux for Tegra aka L4T R21.7 Linux kernel changes from git://nv-tegra.nvidia.com/linux-3.10.git commit: e78bb38b883c42edf81766a1d557aed74458e08f Conflicts involved missing 24-bit LVDS support and a single whitespace aka tab difference in drivers/video/tegra/dc/sor.c. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-04-19ALSA: usb-audio: Fix double-free in error paths after ↵Vladis Dronov
snd_usb_add_audio_stream() call create_fixed_stream_quirk(), snd_usb_parse_audio_interface() and create_uaxx_quirk() functions allocate the audioformat object by themselves and free it upon error before returning. However, once the object is linked to a stream, it's freed again in snd_usb_audio_pcm_free(), thus it'll be double-freed, eventually resulting in a memory corruption. This patch fixes these failures in the error paths by unlinking the audioformat object before freeing it. Based on a patch by Takashi Iwai <tiwai@suse.de> [Note for stable backports: this patch requires the commit 902eb7fd1e4a ('ALSA: usb-audio: Minor code cleanup in create_fixed_stream_quirk()')] Bug 1823317 Bug 1935735 Change-Id: I4f65a902a19e7b21e8bc0fa21efd833c8360a3cf Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1283358 Reported-by: Ralf Spenneberg <ralf@spenneberg.net> Cc: <stable@vger.kernel.org> # see the note above Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Gagan Grover <ggrover@nvidia.com> Reviewed-on: http://git-master/r/1259999 (cherry picked from commit 14e09c3233fb7578c778b70ec3933ba5cadfccb6) Reviewed-on: https://git-master.nvidia.com/r/1690292 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2018-03-19ASoC: tegra: check ucode upper limitRavindra Lokhande
Check ucode size for upper limit. Bug 1901435 Bug 1954563 Bug 1917589 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Signed-off-by: Xia Yang <xiay@nvidia.com> Change-Id: I2f455771147bb4466d154878d2461e472647c4fb Reviewed-on: https://git-master.nvidia.com/r/1575925 Reviewed-on: https://git-master.nvidia.com/r/1674399 GVS: Gerrit_Virtual_Submit Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com> Tested-by: James Huang <jamehuang@nvidia.com> Reviewed-by: James Huang <jamehuang@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2016-06-29arm: tegra: initial support for apalis tk1Apalis_TK1_LinuxImageV2.6Beta2_20160701Marcel Ziswiler
This patch adds support for the Toradex Apalis TK1 acomputer on module which can be used on different carrier boards. The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec. Furthermore, there is a Kinetis MK20DN512 companion micro controller for analogue, CAN and resistive touch functionality which is not yet supported. This is known to boot into either a basic Angstrom/OpenEmbedded/Yocto or L4T/JetPack Ubuntu based image. The following things are known to work to a certain extend: - analogue/digital audio - debug UART1 - DVFS power management incl. low power core migration - eMMC - gigabit Ethernet - GPIOs - HDMI (incl. HDA audio) - I2C - LVDS - PCIe - SATA - SD/MMC cards - temperature sensor - USB host ports The rest is untested. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2016-06-29apalis-tk1: make hda 2nd sound card hackMarcel Ziswiler
Hack HDA driver to make it the 2nd rather than the first sound card as the first one should be the SGTL5000 which is always present on our T30 and TK1 modules. Especially on Ixora where there is no HDA codec on the carrier board HDA being the first sound card does not make much sense even more though as there was no primary device (e.g. device=hw:0,0). Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com> (cherry picked from commit fff75b252e0aed1d8be2b62234624f726c153776)
2016-06-29apalis-tk1: integrate sgtl5000 audio codecMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2015-01-13ASoC: tegra: unset audio_engineBibek Basu
If firmware is not found in case of error, set audio_engine to NULL so that kernel does not panic while further processing Bug 200067781 Change-Id: Ia854c978bd33a2615ab27715e83b4d78a1dbab3a Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/670625 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2015-01-07ASoC: Tegra: correct the print loglevelBibek Basu
Some info prints are wrongly processed as err print Bug 200042283 Change-Id: I490b4782e5d26d06c0f3c7104ab8c68b94f31888 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/668854 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-07ASoC: tegra: fix avp module removeShreshtha SAHU
- avp module remove should not try to release client if avp pcm open was never called and client was never allocated - avp module remove should deregister offload ops Bug 200043253 Change-Id: I11a6d65afab4d88aa5669553809e99fd69cfd000 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/554153 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-01soc: codecs: max98090: free_irq during module removeShreshtha SAHU
Bug 1550880 Change-Id: I54697780893c17a1c117483fd9bf271ba31209d4 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551902 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01soc: tegra: max98090: laguna: fix error return pathsShreshtha SAHU
- Remove switch_dev_unregister and call tegra_asoc_switch_unregister instead in error return path corresponding to tegra_asoc_switch_register. - Skip max97236 registration for laguna erss platorm. Issues surfaced out on making max98090 as removable KO module. Bug 1550880 Change-Id: I6a6c0185a3980efab3592f0733bda214aac4fc81 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551901 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01asoc: rt5639: fix missing regmap_exit during removeShreshtha SAHU
without regmap_exit in remove, next modprobe of modprobe used to complain of "Failed to create debugfs directory" due to stale debugfs directory. Bug 200038898 Change-Id: Ie6373f40b50c1307ee7d114dc0f44164c4b426eb Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/542646 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-19asoc: rt56xx: fix missing device_remove_fileShreshtha SAHU
added missing device_remove_file during device remove this resulted failure in modprobe of module Bug 200038187 Bug 200037087 Change-Id: Ibbe8cf92162144d438f5b563bf6d2b9787acc04e Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/499745 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-16ASoC: Tegra: Fix double regulator disableShreshtha SAHU
digital_reg was disabled second time instead of codec_reg Bug 200036995 Change-Id: I8e9b3aeafa613a5a58063b88ee81bf3d0aaf4e43 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/498837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-05tegra: sound: export symbols for module accessZheng Liu
Export symbols so the sound driver can be built as a module. Bug 1536426 Change-Id: I86fa8800df1988f630b4e45d4cbf1733c039c837 Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/494120 GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2014-08-06kernel: make controls access read onlyRahool Paliwal
This makes controls HDA Decode Capability, HDA Maximum PCM Channels for HDA and AVP DMA channel id for Tegra Soc read only. Bug 200023797 Change-Id: I3271470354b02f3d1b3aab8fa3963ad19d281f41 Signed-off-by: Rahool Paliwal <rpaliwal@nvidia.com> Reviewed-on: http://git-master/r/441855 GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2014-07-16sound: tegra: ahub: add clock settings for T124Bryan Wu
Several additional audio clocks need to be initialized before accessing any audio register, otherwise system will just hard hang. Probably fastboot bootloader initialize these clocks, which actually should be handled in driver. We found this issue for U-Boot bringup. Bug 1482099 Change-Id: Ia7a7c0115bc92a4e98e6f337cf8efc7b2f7a72a0 Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com> Reviewed-on: http://git-master/r/408429 (cherry picked from commit 2929886db14e9d2ac0e75b282126397970fbf9c9) Reviewed-on: http://git-master/r/427929 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
2014-07-09ASoC: Tegra: Add effects capture for norrinDeepa Madiregama
- Add dai link for effects capture Bug 1399923 Change-Id: Ie361aad3cedb1c47b8800fc9eac221e4fcaccc97 Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com> Reviewed-on: http://git-master/r/433496 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2014-07-09ASoC: Tegra: Add support for effects captureDeepa Madiregama
Add capture node to get the effects data from AVP Bug 1399923 Change-Id: I854de0966a40fe7867001a25058626da63b87b92 Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com> Reviewed-on: http://git-master/r/414091 Reviewed-by: Emad Mir <emir@nvidia.com> Tested-by: Emad Mir <emir@nvidia.com>
2014-07-07ASoC: Tegra: support raw aac for compress offloadSayak Ghosh Choudhury
raw aac support is added for compress decoding on avp. Bug 200013486 Change-Id: I355bc8b1636811fb51abb4c4c6ca23f207ec5064 Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com> Reviewed-on: http://git-master/r/427720 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-06-30ASoC: Tegra: Refactor offload to handle multiple BERavindra Lokhande
- Added virtual mixer and switch to support multiple BE - One FE can be connected to multiple BE, mixer control can be used to select the path - Fix crash if no path is selected Change-Id: Ibbf03ef1e1826acd92402b8275d72a580e643e66 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/428950 GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2014-06-13ASoC: Tegra: Simplify eos detection logicRavindra Lokhande
Bug 200008134 Change-Id: I3f39c15a91fb76958b739636eddb6d8480898d21 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/422171 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Chandrakanth Gorantla <cgorantla@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2014-06-13asoc: rt5639: lower verbose level of hp_amp_power()Shreshtha Sahu
hp_amp_power is called multiple times during widget power on and power on/off info is helpful in debugging. so moving print from info to debug. Bug 200010480 Change-Id: Id8db60f1617cd7a5d939ffcf8192201658d6fe96 Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-on: http://git-master/r/422579 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2014-06-12Asoc: Alc5639:Fix/Improve Headset detection.Vinod Subbarayalu
-Update from vendor to fix/improve Headset detection. Bug 1514488 Bug 200004866 Change-Id: I7b8ca45b7f30c964013a34c8cdd5734efb544c81 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/419207 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2014-06-10Merge commit 'refs/changes/82/419382/1' of ssh://git-master:12001/linux-3.10 ↵Mandar padmawar
into promotion_build Change-Id: I9418a05ad5c56b2e902249218bac2fa594d99f56
2014-06-09Update from Realtek to resolve speaker pop noise coming back from LP0Rene Houle
Bug 200006476 Change-Id: I8269a39840a4e887f8c0405457f9484fd2956e9b Signed-off-by: Rene Houle <rhoule@nvidia.com> Reviewed-on: http://git-master/r/418512 Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
2014-06-05Merge branch 'linux-3.10.40' into rel-21Ishan Mittal
Bug 200004122 Conflicts: drivers/cpufreq/cpufreq.c drivers/regulator/core.c sound/soc/codecs/max98090.c Change-Id: I9418a05ad5c56b2e902249218bac2fa594d99f56 Signed-off-by: Ishan Mittal <imittal@nvidia.com>
2014-05-23soc: codecs: max98090: fix interrupt registrationShreshtha Sahu
This patch clears previous interrupt and installs interrupt handler at the end of device probe. Also it enables jack detection only after handler is installed. This prevents, false/stale interrupt generation and hence device access by interrupt handler even before device probe has completed. Bug 1464724 Change-Id: I5988b500bb5e197c095eb64e254829635115994c Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-on: http://git-master/r/398891 (cherry picked from commit 9368b1bb2d85286b8ef890d63e6f3d41c63b0bdc) Reviewed-on: http://git-master/r/411451 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-05-21ASoC: Tegra: Add offload support for norrinRavindra Lokhande
- Add dai link for pcm and compress offload - Enable offload for norrin Change-Id: Ib938673fdd14faf7548dc8048bd6bfa6fab58baf Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/411554 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-21asoc: tegra: Support 24 bit, 192KHz formatVijay Mali
- Add 192Khz sample rate - Update clock rate for i2s clock - Update ahub clock Bug 1502003 Change-Id: I0013957e22a864670e67e3c808df270a8ca16fa1 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/398989 (cherry picked from commit 6f3ec1ce0b301ebf2eb3533a3fd985f25132e4f2) Reviewed-on: http://git-master/r/411871 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-21asoc: rt5639: Add 192KHz sample rateVijay Mali
Bug 1502003 Change-Id: Ic90cf2781578adefdf108358ccff94676e6df146 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/402848 (cherry picked from commit d90f64b19f2b8ef4f2e77134bc3d538e0c938b97) Reviewed-on: http://git-master/r/411870 GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-05-20ASOC: DPCM: Allow pause state as prev state for stop stateChandrakanth Gorantla
In case of seek, pause <-> stop <-> resume is the general sequence, so allow pause state to come before stop. Bug 1405523 Change-Id: Ib90d5c6cb780bdb5c9cedd33ae114f78603b2649 Signed-off-by: Chandrakanth Gorantla <cgorantla@nvidia.com> Reviewed-on: http://git-master/r/401556 Reviewed-by: Deepa Madiregama <dmadiregama@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2014-05-14ASoC: Tegra: Fix concurrent pcm and compress playbackRavindra Lokhande
- Added path between BE and codec stream - use atomic reference count Bug 1495249 Change-Id: I895d22e1854c53f41362ed2a1cff63d88feb397b Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/405859 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-06tegra: Remove old SOC/Board supportDan Willemsen
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I06582980f2e9e88ab0e34bc5febc5d939fb77cc4 Reviewed-on: http://git-master/r/404934 (cherry picked from commit d1095251dadc17cb2c4f885f0d5d23359536f02b) Reviewed-on: http://git-master/r/405472 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-06ASoC: Tegra: Add compress offload volume controlDeepa Madiregama
Add alsa control for volume changes during compress offload playback. Bug 1498475 Change-Id: I5572338648a2fefdcf3095702bcbade35f1b0565 Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com> Reviewed-on: http://git-master/r/399682 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>