summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
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: 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-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>
2016-11-11ASoC: compress: Fix compress capture stream handlingSatish Babu Patakokila
Compress framework considers the stream as PLAYBACK always irrespective of the direction. Derive substream based on the tx/rx direction from compressed stream. CRs-fixed: 1072067 Change-Id: I62c51c23a47f26b221dccef6f83c03aef9f095a7 Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
2016-11-10Merge "ASoC: msm: qdsp6v2: add support for tx app type config"Linux Build Service Account
2016-11-10Merge "ASoC: Change info logs to debug"Linux Build Service Account
2016-11-10Merge "ASoC: msmcobalt: clean up bootup errors"Linux Build Service Account
2016-11-10Merge "ASoC: msm: refactor machine driver for msmfalcon"Linux Build Service Account
2016-11-10ASoC: msm: qdsp6v2: add support for tx app type configDerek Chen
Add support for TX path COPP calibration according to app type configuration CRs-fixed: 1015476 Change-Id: I0bcbfadb0c1a22529863a5c4b8cc5c53a1028915 Signed-off-by: Derek Chen <chenche@codeaurora.org>
2016-11-09ASoC: wcd9335: Add 24bit record supportDhanalakshmi Siddani
Update tasha DAI for 24bit record support. CRs-Fixed: 1084375 Change-Id: I6d04b6343713a91d97ff18631141772f92f4ed00 Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
2016-11-09Merge "ASoC: wcd934x: Change SIDO reference to internal"Linux Build Service Account
2016-11-09ASoC: wcd934x: Fix adie loopback through sidetone src pathKarthikeyan Mani
Interpolator clock is not being enabled for codec adie loopback through sidetone src path. Fix the issue by enabling interpolator clock in DAPM PRE_PMU and disable the clock in the POST_PMD callback function. Change-Id: I822d6280b301b2db6194c845098c935e612ca61c Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2016-11-09ASoC: msm: q6dspv2: fix potentional information leakMeng Wang
The heap buffer pointed to out_buffer and in_buffer are allocated but uninitlalized. It may cause information leak. Change to kzalloc instead of kmalloc when allocating kernel buffers to avoid information leak. CRs-Fixed: 1087020 Change-Id: I6f9b7a630158355a7f920dcf9cfffe537b1c6a85 Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-11-08Merge "ASoC: wcd934x: Fix fake button press for headset insertion"Linux Build Service Account
2016-11-08Merge "ASoC: wcd9335: Fix AANC click and pop in voice call"Linux Build Service Account
2016-11-08Merge "ASoC: wcd934x: Fix AANC click and pop in voice call"Linux Build Service Account
2016-11-08Merge "sound: usb: Add support to handle QMI client disconnect"Linux Build Service Account
2016-11-08Merge "ASoC: wcd934x: fix MAD enable sequence for ADC2"Linux Build Service Account
2016-11-08Merge "ASoC: wcd934x: Update surge recovery for version 1.1"Linux Build Service Account
2016-11-07Merge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down"Linux Build Service Account
2016-11-07Merge "ASoC: add 352800Hz into the pcm known rates"Linux Build Service Account
2016-11-08ASoC: soc: prevent risk of buffer overflowXiaojun Sang
In case of large value for bufcnt_t or bufcnt, cmd_size may overflow. Buffer size allocated by cmd_size might be not as expected. Possible buffer overflow could happen. CRs-Fixed: 1084210 Change-Id: I9556f18dd6a9fdf3f76c133ae75c04ecce171f08 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-11-07ASoC: wcd934x: Fix fake button press for headset insertionPhani Kumar Uppalapati
Fix fake button press when headset is inserted by properly disabling micbias after the detection is completed. CRs-Fixed: 1086418 Change-Id: I241a49dd36746c083b410a58c8c899ee0e9390ad Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-07ASoC: wcd9335: Fix AANC click and pop in voice callVidyakumar Athota
Currently ANC output is connected to speaker path before PA is enabled. This is causing click sound during voice call when adaptive ANC is enabled. Fix this issue by connecting ANC output to speaker path after PA is enabled. Change-Id: I5f381b1e0c0222b8ae81d923da0b86d742b3cccd Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-11-07ASoC: wcd934x: fix MAD enable sequence for ADC2Bhalchandra Gajare
Microphone Activity Detection (MAD) hardware block in codec needs to be in micbias mode and bandgap must be enabled whenever the input to the MAD block is from ADC2. Change updates the codec register sequence for MAD Input mixer control accordingly. CRs-Fixed: 1085214 Change-Id: Ic57b1db8688ff634ed7d62279baa7c042d126550 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-07ASoC: wcd934x: Fix AANC click and pop in voice callVidyakumar Athota
Currently ANC output is connected to speaker path before PA is enabled. This is causing click sound during voice call when adaptive ANC is enabled. Fix this issue by connecting ANC output to speaker path after PA is enabled. Change-Id: I2103773a17e7d9ee5acb3f21dc955e2da493b3b4 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-11-07ASoC: msm: refactor machine driver for msmfalconLaxminath Kasam
Combine the common code of both external and internal codec machine drivers. Provide config support for independent compilation of internal and external codecs. CRs-Fixed: 1083537 Change-Id: Ia63f8baf02b0ceee0960e208b976d7b573c39d52 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-11-07ASoC: msm8x16-wcd: update mbhc config typeLaxminath Kasam
Update internal codec driver to use new mbhc config structure. CRs-Fixed: 1083537 Change-Id: I0ff5b7ba83f2fec89562337ec63e062b50abc589 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-11-07ASoC: msm: Add support for INTx ports and clocksLaxminath Kasam
Add support for new DSP INTx MCLK, INTx IBIT CLK and INTx MI2S ports. New internal codec and msm based soundwire codec use these clocks and port_ids. CRs-Fixed: 1083537 Change-Id: I72e0a15c8a283c68a3ed10cfd02a4e3d9526c312 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-11-04Merge "ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgets"Linux Build Service Account
2016-11-04Merge "Merge remote-tracking branch 'msm4.4/tmp-da9a92f' into msm-4.4"Linux Build Service Account
2016-11-04ASoC: Change info logs to debugSiena Richard
Change ASoC info logs to debug to reduce excessive logging during bootup. Change-Id: I142b35901e8ba7724d3ba74ae8c58be3bc8dc44a CRs-fixed: 1073250 Signed-off-by: Siena Richard <sienar@codeaurora.org>
2016-11-04ASoC: wcd934x: Change SIDO reference to internalPhani Kumar Uppalapati
Add support to change SIDO reference to internal mode during rock bottom sleep mode. CRs-Fixed: 1080507 Change-Id: I8d70ad663f3476e1c81cc2126b1229a3c7c80265 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-03ASoC: add 352800Hz into the pcm known ratesWalter Yang
Add 352800Hz into pcm known rates to match with the sound sample rate macro definitions. CRs-Fixed: 1082850 Change-Id: Iedd78288f71ddcaa9fcb2f63bd3b73be2c0006dd Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-11-03ASoC: msm: q6dspv2: use correct variable type to store ION buff sizeBanajit Goswami
The size of the physical memory allocated for ION buffers are of type size_t. Change updates the type of variables sent to ION drivers to size_t to avoid any mismatch. Change-Id: I3d33ed922b979652c64027e6f1c6f0a8ed4850a3 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2016-11-03sound: usb: Add support to handle QMI client disconnectHemant Kumar
In case of remote QMI client restart, QMI client disconnect is notified to qmi server. Handle this notification by going over all the active usb audio devices and issue set alt 0 on corresponding active interfaces of device. After this perform usb audio device clean up to unmap iova. Change-Id: Ie89b06d821c1f968ecc30333654bc3a1466f74e3 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-03ASoC: msmcobalt: Update ignore suspend for MAD_CPE out widgetsVidyakumar Athota
Ignore suspend flag is not set for "MAD_CPE" out widgets, causing device not to go into suspend state during voice activation. Set ignore suspend flag to allow suspend during SVA use case. Change-Id: I18b7cb311e793c820da10990c47f472f7a0d0944 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-11-03ASoC: msm: q6dspv2: wake up tasks when ADSP goes downBanajit Goswami
When ADSP goes down, all tasks waiting for response from ADSP should be woken up, so that the upper layers can proceed with the clean up. Change adds code to wake up tasks, waiting for response from ADSP for memory related commands, when ADSP sub-system notifier reaches ASM driver. CRs-Fixed: 1085631 Change-Id: I0eed467aec676dd6eba71bf08aa4a45ada90133b Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2016-11-03ASoC: wcd934x: Update surge recovery for version 1.1Phani Kumar Uppalapati
Update codec headphone surge recovery sequence for version 1.1. Change-Id: I74a10da503622f7cd9ceb9a8b503b876e17abab4 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-03Merge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp"Linux Build Service Account
2016-11-03Merge "ASoC: wcd934x: Update OCP connection attempts"Linux Build Service Account