نمودار کامیت

1142 کامیت‌ها

مولف SHA1 پیام تاریخ
Raja Mallik
f008d22120 ASoC: wcd9335: Add support for Microphone Activity Detection
Microphone Activity Detection (MAD) hardware in the codec is used to
perform detection of audio/beacon/ultrasound audio activity on the
microphone. Add routing controls and configuration to enable the
capture support for MAD in WCD9335 codec.

Change-Id: I48359c6069bbebfc7f58efc24654544309912b69
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Raja Mallik <rmallik@codeaurora.org>
2018-11-20 12:27:06 -08:00
Linux Build Service Account
e95846085a Merge "ASoC: Fix null pointer dereference for prtd pointer" 2018-11-18 23:46:57 -08:00
Linux Build Service Account
712efd3aa3 Merge "wcd934x: Fix NULL pointer dereference for wcd9xxx pointer" 2018-11-18 23:46:54 -08:00
Linux Build Service Account
d72c877e31 Merge "soc: vote for LPASS NPA resource from LPI TLMM driver" 2018-11-17 09:56:49 -08:00
Linux Build Service Account
d2d43fa980 Merge "ASoC: wcd937x: Enable hph OCP" 2018-11-16 10:16:59 -08:00
Linux Build Service Account
bef6a02c0d Merge "asoc: add SBC support for BT Sink in dai-driver" 2018-11-16 08:34:30 -08:00
Linux Build Service Account
ccadffa0bb Merge "dsp: add SBC support for BT sink mode" 2018-11-16 08:34:30 -08:00
Linux Build Service Account
67a099c6cc Merge "asoc: sdm845: set flag ignore_pmdown_time for ultrasound RX DAI" 2018-11-15 22:54:08 -08:00
Vatsal Bucha
8d8602219b wcd934x: Fix NULL pointer dereference for wcd9xxx pointer
During bind/unbind of ngd_msm_ctrl power_gate_digital_core
is called. Simultaneously tavil_remove is also called
making tavil pointer as NULL.  Check for tavil as not NULL
at the start of function to avoid NULL pointer dereference.

CRs-Fixed: 2267796
Change-Id: I6fc476cc8b706b556836f30838983de0f34d4fc1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-15 18:05:52 -08:00
Vatsal Bucha
2eb2e613df ASoC: Fix null pointer dereference for prtd pointer
Private data pointer may not be initialized before
access it in adsp_stream_cmd_put. NULL check for prtd
avoids the issue.

CRs-Fixed: 2250112
Change-Id: I0a033d7e867b183c329941b57b49232729191f1b
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-15 18:01:31 -08:00
Florian Pfister
4b3b0c8401 asoc: add SBC support for BT Sink in dai-driver
Receive SBC stream parameters from IPC library.

Change-Id: I59e938589c912c85aa3b84203ff20c469b978671
Signed-off-by: Florian Pfister <fpfister@codeaurora.org>
2018-11-15 06:09:47 -08:00
Vatsal Bucha
204f59cd14 ASoC: wcd937x: Enable hph OCP
Update registers to enable OCP for HPHL and HPHR.

CRs-Fixed: 2321013
Change-Id: I51a872981ee2dc435757152b9122067944d13924
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-15 04:32:14 -08:00
Mangesh Kunchamwar
8ab099ad8c soc: vote for LPASS NPA resource from LPI TLMM driver
Vote for LPASS island NPA resource before accessing any
LPASS register from LPI TLMM driver.

Change-Id: I9987b2ac60b055a7d33b3adce2b36a2fbbe2dea1
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-15 16:16:37 +05:30
Florian Pfister
f4fd5f33d1 dsp: add SBC support for BT sink mode
Update SBC sample frequency and number of channels
from IPC library to set AFE port accordingly.

Change-Id: Ibca385b0fc0ba4c3122053559b1116bd4c31336d
Signed-off-by: Florian Pfister <fpfister@codeaurora.org>
2018-11-15 01:32:22 -08:00
Linux Build Service Account
ffb86ea061 Merge "asoc: bolero: Add support to register wake irq" 2018-11-14 23:15:24 -08:00
Linux Build Service Account
86a34cd9cc Merge "soc: swr-mstr: add support for hardware wakeup interrupt" 2018-11-14 23:15:24 -08:00
Linux Build Service Account
708004630d Merge "soc: swr-mstr: Update hparams for all swr master ports" 2018-11-14 23:15:23 -08:00
Linux Build Service Account
9592f46b51 Merge "soc: swr-mstr: Remove master access from slave api" 2018-11-14 23:15:21 -08:00
Linux Build Service Account
fab8a74412 Merge "soc: swr-mstr: Ignore device up during SSR" 2018-11-14 23:15:20 -08:00
Linux Build Service Account
3de80a4abd Merge "asoc: codecs: Add new class-H driver for wcd937x" 2018-11-14 23:15:18 -08:00
Linux Build Service Account
216d69750d Merge "soc: swr-mstr: Reinit clk off signal before waiting" 2018-11-14 23:15:17 -08:00
Mangesh Kunchamwar
920015ceb8 asoc: codecs: bolero: vote for LPASS NPA resource
Updates for voting for LPASS island NPA resource while
access any LPASS registers.

Change-Id: Ibcebd2d6ef368f309594689335bc07a36eafeaf0
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-15 12:22:48 +05:30
Mangesh Kunchamwar
912a96accb asoc: codecs: update audio clock driver for LPASS NPA resource
Add new clock node for LPASS NPA resource for clients
to enable or disable the resource.

Change-Id: I8aa587771618d301ace72d6df1045078cdf39c9c
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-14 18:39:09 +05:30
Mangesh Kunchamwar
70c29ec0dc dsp: update q6core driver to vote for LPASS island NPA resource
Add interface functions to vote for LPASS island NPA resource
from clients.

Change-Id: I532dd697f986aca48c3125b1bab3435b890d4039
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-14 18:38:26 +05:30
Aditya Bavanari
3e19f3c007 asoc: sm6150: Add changes to send wake_irq mechanism
SM6150 V1.0 target uses ipc wake up mechanism. Based on
version info of sm6150 chipset, register for
wake up interrupt either by ipc_wakeup or hardware
interrupt line machanism.

Change-Id: I7f12d919418b284f310c8b7bb5cd24e47f2099ec
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-11-14 03:38:37 -08:00
Aditya Bavanari
c4e96121c5 asoc: bolero: Add support to register wake irq
Add reg_wake_irq macro callback and issue an event
from Tx macro to Tx sound wire master instance
in order to register for wake irq and to handle
the ipc wake up interrupt.

Change-Id: Iefddc1f85173ce267c0b00c9d06be3a4a2fe29fe
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-11-14 17:06:38 +05:30
Aditya Bavanari
c034fadb2c soc: swr-mstr: add support for hardware wakeup interrupt
Add changes to register hardware wake up interrupt
from soundwire data line or ipc wake up interrupt
from LPASS.

Change-Id: Ibe4277db79aa62f34e9b325ae656b3f3fa7a2bcb
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-11-14 17:04:43 +05:30
Ramprasad Katkam
0db4801f4d soc: swr-mstr: Remove master access from slave api
The read/write api exposed by soundwire master is intended
to be used only for accessing soundwire slave registers.
Remove master access from the api, to avoid invalid access
due to slaves sending devnum as zero incorrectly.

Change-Id: Ia00179f87908f95f03ef027630d178016affdb18
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-11-14 11:44:46 +05:30
Linux Build Service Account
71d091e2ec Merge "asoc: wcd937x: move export functions to new header" 2018-11-13 21:59:22 -08:00
Linux Build Service Account
f9a3368f0e Merge "asoc: codecs: bolero: Add HPH power modes on bolero" 2018-11-13 21:59:20 -08:00
Laxminath Kasam
990c70b004 soc: swr-mstr: Update hparams for all swr master ports
Need to specify hstart and hstop bit fields
even if those are not used in frameshape for
given port. Soundwire master register config
needs to set as 0x0, 0xF for hstart and hstop
for those ports.

CRs-Fixed: 2333434
Change-Id: I78e103a3d4c9085ea14884691d5df3f35fa7a754
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-13 23:44:23 +05:30
Linux Build Service Account
5cdd74d98c Merge "soc: swr-mstr: Update class-H port params" 2018-11-13 08:08:23 -08:00
Laxminath Kasam
7adc34e496 asoc: codecs: Add new class-H driver for wcd937x
Add new class-H driver with sequences to support
both class-H and class-AB modes on wcd937x variants.

Change-Id: Ie109f3d951af1e8a0079dd39ab2fe1e9883bd6c2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-13 13:15:59 +05:30
Laxminath Kasam
838f0b885f asoc: wcd937x: move export functions to new header
For export functions from wcd937x use separate
header as internal header is only supposed to be
used within wcd937x driver logic.

Change-Id: Ice373ff95f7166a2f968458b25223c582edc7fba
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-12 21:49:59 +05:30
Ramprasad Katkam
0fed92f477 soc: swr-mstr: Ignore device up during SSR
New audio session may be opened just before SSR
has occured. Ignore device up notification due to
new session during SSR as soundwire hardware is
not ready.

Change-Id: I06a558d0fa9e31ed6bbdfab80402ba7b337e7ad8
signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-11-12 20:45:42 +05:30
Ramprasad Katkam
7f6462ebd7 soc: swr-mstr: Reinit clk off signal before waiting
Reinit clk off signal before waiting to avoid false
positives because of the signal complete that happened
prior to the waiting.

Change-Id: I678fdc8589039d9f59e6590a4899309dad479181
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-11-12 20:38:57 +05:30
Laxminath Kasam
de09dfb301 asoc: codecs: bolero: Add HPH power modes on bolero
Two power modes are supported on bolero digital.
Add support to set required power mode using
mixer control and enable runtime during powerup
sequence.

Change-Id: I4c5a7560984d60745ac98848f1eec1d1f8485323
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-12 20:19:57 +05:30
Laxminath Kasam
e30eef71d4 soc: swr-mstr: Update class-H port params
Update sampling interval for class-H as per HW spec
and hstart/hstop bit fields in swr master register
since master fields are not same as slave fields
for this setting as defined in HW register document.

Change-Id: Iefb5bb83bb8984ee964f405f53ab6f8f0ba47f75
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-09 23:31:31 +05:30
Xiaoyu Ye
52b9a67618 asoc: sdm845: set flag ignore_pmdown_time for ultrasound RX DAI
During PCM closing, the AIF power down will be delayed due to flag
ignore_pmdown_time is not set. Set this flag for ultrasound RX DAI
to avoid delay in PCM close which causes slimbus overflow.

Change-Id: I5eeaceaacc5be0c200b50d1a7d0f211fa0d41f2b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-11-06 17:33:28 -08:00
Mangesh Kunchamwar
1face6aa6d dsp: fix issue with MDF shared memory access in CDSP for QCS403
SMMU is not enabled on CDSP and shared memory to CDSP doesn't need
SID. Default SID from audio ION was being added in 32bit builds.
Avoid adding default SID for MDF shared memory for CDSP.

Change-Id: I5e35396fc90071f96e1042c5e08eafe4226c240b
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-06 18:03:46 +05:30
Linux Build Service Account
408ba7c759 Merge "asoc: wcd937x: disable TX CH2 after power down" 2018-11-05 21:39:05 -08:00
Linux Build Service Account
ab1a6c2a63 Merge "dsp: afe: change lock sequence to avoid deadlock" 2018-11-05 21:39:03 -08:00
Linux Build Service Account
2a2963bf38 Merge "dsp: fix issue with MDF shared memory access in QCS403" 2018-11-05 21:39:00 -08:00
Linux Build Service Account
2ae2328796 Merge "asoc: msm-lsm-client: Update lsm client driver to prevent buffer overrun" 2018-11-05 21:38:56 -08:00
Linux Build Service Account
d577325ee4 Merge "asoc: qcs405: add machine driver support for SLIMBUS_9_TX" 2018-11-04 19:08:06 -08:00
Linux Build Service Account
5018617adf Merge "soc: swr-mstr: suppress continuous warning interrupts" 2018-11-04 19:08:05 -08:00
Linux Build Service Account
563b443fcd Merge "dsp: increase afe apr_send_pkt timeout to 2 seconds" 2018-11-04 19:08:04 -08:00
Dhananjay Kumar
4867dc18a8 asoc: msm-lsm-client: Update lsm client driver to prevent buffer overrun
ADSP, userspace and LSM client driver, all these three layer are maintaining
independent buffers and rewrite them irrespective of the buffer being read
successfully by their client or not.
Before switching to real-time capture, history buffers cached can be returned
with minimal delay and may lead to overrun in a module if buffering in the
module is not sufficient to store all those data generated almost instantaneously.
LSM driver having buffer size smaller than history buffer duration is hitting
this issue and resulting in buffer overrun for even a small delay from userspace
in start of capture processing thread.
Prevent this issue by synchronising read and write in LSM driver to make
sure the driver waits for read from userspace before writing the same buffer again.

Change-Id: I2710b484a7ef03e8314c7ba05bf729893aecb890
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2018-11-02 19:54:00 +05:30
Linux Build Service Account
fbcc12e319 Merge "ASoC: correct read size return value for erroneous conditions" 2018-11-02 02:54:27 -07:00
Linux Build Service Account
42a69eda3d Merge "asoc: qcs405: add A2DP sink support in machine driver" 2018-11-02 02:54:25 -07:00