summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2016-12-10Merge "sound: usb: Handle implicit feedback data endpoint properly"Linux Build Service Account
2016-12-09Merge "ASoC: msm: qdsp6v2: Add mutex in afe_map_cal_data"Linux Build Service Account
2016-12-09Merge "ASoC: msm: enable DAP set license logic on 8998"Linux Build Service Account
2016-12-09Merge "ASoC: soc: add a new dailink for VI recording"Linux Build Service Account
2016-12-09Merge "ASoC: wcd934x-dsp-cntl: fix the reset sequence"Linux Build Service Account
2016-12-09Merge "ASoC: qdsp6v2: prevent null pointer dereference for _vol_cmds"Linux Build Service Account
2016-12-09Merge "ASoc: msm: Add changes to support multiple meta key value pairs"Linux Build Service Account
2016-12-08sound: usb: Handle implicit feedback data endpoint properlyHemant Kumar
For the devices supporting implicit feedback over data endpoint usb audio driver instantiates snd_usb_endpoint as sync_endpoint even though there is no real usb sync endpoint exists. QMI driver looks for usb endpoint if sync_endpoint is instantiated and bails out if endpoint related context does not exist. This causes such devices to not work. Hence do not bail out if sync ep context does not exist and continue preparing the QMI response. Change-Id: I7d96555573cfd6cca1ca56c877d78fde943f8100 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-12-07ASoC: msm: enable DAP set license logic on 8998Weiyin Jiang
Since we move to GEF implementation for Dolby post processing, disabling DAP/DAX2 driver logic on msm8998 target except for license validation. CRs-Fixed: 1094027 Change-Id: I33c5625026611856f6cdd8c6e0b5d7ef229ba8c7 Signed-off-by: Weiyin Jiang <wjiang@codeaurora.org>
2016-12-06ASoC: wcd934x-dsp-cntl: fix the reset sequenceBhalchandra Gajare
Currently, whenever the codec DSP is reset, the CPAR hardware block is not reset. This causes failure to boot DSP in good state. Update CPAR reset sequence to ensure CPAR is put to reset when not in use. CRs-fixed: 1091032 Change-Id: I77fea396fda6ee0eaaf0c68b11cf90f268ac1481 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-12-06ASoC: wcd-spi: fix clock disable request during shutdownBhalchandra Gajare
It is possible that there could be pending delayed request to disable the clock while the manager driver has already raised shutdown event. In such cases, the delayed clock disable request will be made after shutdown, resulting in unclocked access on the SPI bus. Fix this by intercepting the shutdown event to flush the clock votes and disable the clock. CRs-Fixed: 1091032 Change-Id: I53a3a9aa540c10932eed7fa29ce7c6050504a9a0 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-12-05ASoC: msm: qdsp6v2: Add mutex in afe_map_cal_dataRohit Kumar
Add mutex_lock in afe_map_cal_data around afe_cmd_memory_map to avoid update of this_afe.status by afe_set_lpass_clk_cfg afe callback. This fixes the failure of afe_cmd_memory_map waitqueue to enter into sleep when wait_event_timeout is called as this_afe.status is already zero leading to invalid map_handle. CRs-Fixed: 1094151 Change-Id: I4833253803c162c98578ba7ce599ea1edafc1724 Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
2016-12-05ASoC: msm8998: Add support for HiFi amplifierSudheer Papothi
HiFi amplifier uses lineout path and routed to headphones. This is used for better quality of audio on headphones. Add support to enable HiFi amplifier on msm8998. Change-Id: I3f2cadbb74b3a68d91938f20afff2ab0ab42b4bd Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-12-05ASoC: soc: add a new dailink for VI recordingXiaojun Sang
SLIMBUS 4 TX is used for speaker protection. To enable VI recording without breaking speaker protection, a new dailink is added as non-hostless. CRs-Fixed: 1087025 Change-Id: I440b7826fb5fd4fbd55831c1e89b9b010f3b948c Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-12-05ASoC: soc: qdsp6v2: add support for slimbus VI recordingXiaojun Sang
Add a new dailink for slimbus VI sense recording. SLIMBUS_TX_VI and SLIMBUS_4_TX can coexist. VI recording and speaker protection cannot work simultaneoulsy due to shared physical afe port. CRs-Fixed: 1087025 Change-Id: If074b7042e09d1e69147546461e6fa42d427350e Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-12-02Merge "ASoC: msm: qdsp6v2: Fix an incorrect string comparison logic"Linux Build Service Account
2016-12-02Merge "ASoC: msm8998: Update supported sample rates for USB backend."Linux Build Service Account
2016-12-02Merge "SoC: msm: q6dspv2: add null check for payload"Linux Build Service Account
2016-12-02Merge "ASoC: wcd934x: enable lineout path in codec"Linux Build Service Account
2016-12-02Merge "ASoC: soc-dapm: Invalidate DAPM path during dapm addition of routes"Linux Build Service Account
2016-12-02Merge "misc: qcom: qdsp6v2: register ioctl calls for g711mlaw driver"Linux Build Service Account
2016-12-02Merge "ASoC: audio-ext-clk: add new audio ext clock"Linux Build Service Account
2016-12-01ASoc: msm: Add changes to support multiple meta key value pairsAditya Bavanari
Add changes to get the cal_block on the basis of meta key and set the license in core with the obtained cal_block CRs-Fixed: 1093003 Change-Id: I7c931ca0ad4eed4da9252a05ee426d2ef4bd10b1 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2016-12-01ASoc: msm: qdsp6v2: Add TX app type support in compress driverSatish Babu Patakokila
Add TX app type support in compress driver to support different post processing modules per COPP in the TX path CRs-fixed: 1072067 Change-Id: I8e84577b5aff5e932632c4612a88808615d764ae Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2016-12-01ASoc: msm: qdsp6v2: Add timestamp support for compress captureSatish Babu Patakokila
Add timestamp support for compress driver. Modify ASM driver to read the buffer from predefined offset. CRs-fixed: 1072067 Change-Id: I1c46befc223285495b3c0650e6c3eaae81f58771 Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2016-11-28ASoC: msm8998: Update supported sample rates for USB backend.Ashish Jain
Add entries for 88.2kHZ, 176.4kHz and 352.8kHz to supported sample list for USB RX and TX backend. Change-Id: I78261addaa84d1239b92e1528e77bbfcaa09105f Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2016-11-25Merge "ASoC: wcd9335: Add dapm ignore suspend for codec dai"Linux Build Service Account
2016-11-25Merge "ASoc: msm: qdsp6v2: Add support for compress capture"Linux Build Service Account
2016-11-25ASoC: audio-ext-clk: add new audio ext clockMeng Wang
In common clock framework, API for registering clk provider for a node is changed to of_clk_add_provider. Add new audio ext clock file to use new API to register audio clk provider. Crs-Fixed: 1090500 Change-Id: I1d7ecc6a3d4c48d0de9645043d5e5bfdfa1d1f5f Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-11-24ASoC: msm: qdsp6v2: support decode of g711 clipsArun Kumar Dasari
Add support in audio stream manager to configure decode of g711 related clips. CRs-Fixed: 1094107 Change-Id: Ie90fd68e24e7e793aaac64290e3c1e41682d6d5a Signed-off-by: Yamit Mehta <ymehta@codeaurora.org> Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24ASoC: msm: qdsp6v2: support encode of g711 formatSurendar karka
Add support in audio stream manager to configure encode of g711 format CRs-Fixed: 1094107 Change-Id: I496a975e427f68d7bb5cc2789bfc9bb949658233 Signed-off-by: Surendar karka <sukark@codeaurora.org>
2016-11-24Merge "ASoC: msm: Update supported sample rates for USB Backend"Linux Build Service Account
2016-11-23ASoC: msm: qdsp6v2: Fix an incorrect string comparison logicXiaoyu Ye
A conditional branch is skipped due to incorrect string comparison. It is fixed by using "strcmp" to perform string comparison. CRs-fixed: 1085889 Change-Id: I12be44ac272fc5079230feb6ae24c68ccde99cf2 Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org> Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-23SoC: msm: q6dspv2: add null check for payloadMeng Wang
In debug message, payload could be NULL and cause panic. Remove payload from debug message. Add null check for payload to avoid panic. CRs-Fixed: 1087543 Change-Id: I3e2fffdddfb7822a4eb3e142738363f1e80522d8 Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-11-22msm: 8998: Replace cobalt with 8998Runmin Wang
Update the code name from msmcobalt to msm8998. As a result, update the filename containing "cobalt" and files content containing "cobalt". CRs-Fixed: 1070840 Change-Id: I2c7b95e3e2a2fec7730724da9eeb86a39a77faf1 Signed-off-by: Runmin Wang <runminw@codeaurora.org> Signed-off-by: Kyle Yan <kyan@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-11-18Merge "ASoC: msm: q6dspv2: fix potentional information leak"Linux Build Service Account
2016-11-18Merge "ASoC: wcd934x: Fix adie loopback through sidetone src path"Linux Build Service Account
2016-11-18Merge "Asoc: clean up bootup errors"Linux Build Service Account
2016-11-18Merge "ASoC: wcd-mbhc: correct cross connection check"Linux Build Service Account
2016-11-17ASoC: msm: Update supported sample rates for USB BackendAshish Jain
Add entries for 88.2kHZ, 176.4kHz and 352.8kHz to supported sample list for USB backend. Change-Id: I96406588062da4997851eff8524c53699f1063eb Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2016-11-17ASoC: msm: Fix sound card registration failureLaxminath Kasam
In external codec machine driver, register SSR notifier after sound card register. Also, add separate snd_soc_card variables for tavil and tasha since same machine driver is used for both codecs. CRs-Fixed: 1083537 Change-Id: I73fc02b812f2e6694e2a6aa8bdad2381a5f19406 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-11-17ASoC: msm: Add support for USB/WCN/TDM AudioLaxminath Kasam
Add required machine driver support for USB Audio, BT, FM, TDM interfaces both for internal and external codecs. CRs-Fixed: 1083537 Change-Id: I3d2765535793d6ef9153cfcab4b44a9adad67e15 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-11-16ASoC: wcd934x: enable lineout path in codecBhalchandra Gajare
Lineout path in codec supports differential output that can be routed to headphones or speakers. Add required register sequence changes to enable both the lineout paths on the codec. Either of the lineouts can be used in mono playback or both can be used for stereo playback. Change-Id: I32aa42ceef069241e00e734dc4d84f5d5277bda4 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-16ASoC: qdsp6v2: prevent null pointer dereference for _vol_cmdsXiaojun Sang
In case of memory allocation failure, _vol_cmd_cnt is not reset. In _volume_cmds_free, null pointer dereference would happen for _vol_cmds[i]. To prevent it, reset _vol_cmd_cnt when memory allocation fails. CRs-Fixed: 1089598 Change-Id: Icb998549cdb999c6db2fd52aef505f200e630da5 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-11-15ASoc: msm: qdsp6v2: Add support for compress captureSatish Babu Patakokila
Add support for compress capture in compress driver. Add audio record support through compress driver. CRs-fixed: 1072067 Change-Id: I7c6ab8bc0e88010eb221788cf8ce4c182e3128d9 Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2016-11-14Merge "ASoC: msm: q6dspv2: use correct variable type to store ION buff size"Linux Build Service Account
2016-11-14Merge "ASoC: compress: Fix compress capture stream handling"Linux Build Service Account
2016-11-14Merge "ASoC: soc: prevent risk of buffer overflow"Linux Build Service Account
2016-11-14Merge "ASoC: wcd9335: Add 24bit record support"Linux Build Service Account
2016-11-14ASoC: wcd-mbhc: correct cross connection checkYeleswarapu Nagaradhesh
Schmitt trigger result is wrong if PA is enabled. So, don't check for cross connection when PA is enabled. CRs-Fixed: 1061507 Change-Id: Iad71abbed72aa40b5c839260f5c297a885f7d128 Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>