Commit graph

1,081 commits

Author SHA1 Message Date
Linux Build Service Account
aeb99f98ef Merge "Initial Android target definition for trinket." 2018-11-02 01:53:32 -07:00
Linux Build Service Account
8d72268cd2 Merge "dsp: add BT sink support in AFE driver" 2018-11-02 01:53:31 -07:00
Linux Build Service Account
f5a1eb31f5 Merge "asoc: Add effects controls in loopback driver" into audio-drivers.lnx.3.1 2018-11-01 01:49:04 -07:00
Florian Pfister
f1b8d5bdea dsp: add BT sink support in AFE driver
Add different media format support in AFE decoder.

Change-Id: Icdc3884882c34236f5ab02355dfbabdd2a1becd2
Signed-off-by: Florian Pfister <fpfister@codeaurora.org>
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-10-31 23:14:03 -07:00
Hari Veerubhotla
dcab67c504 Initial Android target definition for trinket.
Change-Id: Ib55a9013b0fa5bcda0e5d2d17d1741e607a9c9b5
2018-10-31 02:40:21 -07:00
Trinath Thammishetty
d49fecb934 asoc: Add effects controls in loopback driver
Add audio effects related controls in transcode loopback driver to
support audio effects in hardware loopback usecase.
Update transcode loopback driver to support configuration of DSP render
window. Render window is used by DSP to take rendering decision.
i.e whether input frame should be rendered, dropped or repeated.

Change-Id: I09bb725d980b8051eae3a245584e2b66cd2af7ff
Signed-off-by: Trinath Thammishetty <tthamish@codeaurora.org>
2018-10-31 02:36:34 -07:00
Ramprasad Katkam
833035127f soc: swr-mstr: Change master interrupt to edge type
Change master interrupt to edge type handling to avoid
recurring interrupts during ssr. Add loop logic to handle
concurrent edge type interrupts.

Change-Id: I3c789a24c035a6a00b1a2f515aa5328546ad80a9
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-29 01:25:43 +05:30
Linux Build Service Account
1ab95845cf Merge "soc: swr-mstr: Avoid race condition during device up" 2018-10-26 02:05:44 -07:00
Linux Build Service Account
04804945eb Merge "asoc: bolero: Fix gfmux access during SSR" 2018-10-25 19:21:08 -07:00
Linux Build Service Account
1563894fb6 Merge "asoc: add limit checks for copp index" 2018-10-25 19:21:06 -07:00
Ramprasad Katkam
86c45e0761 soc: swr-mstr: Avoid race condition during device up
During device up call from platform driver, if master
is already up pm get_sync is currently skipped. However
pm suspend can get called after this check. Hence do a pm
get_sync even if master is already up to avoid race
condition.

Change-Id: I1779db3d65f58bda220d1ec07706e91745814c1f
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-25 19:25:54 +05:30
Linux Build Service Account
f79c5c1f41 Merge "asoc: codecs: Add proper NULL checks and initialize variables" 2018-10-25 03:13:39 -07:00
Linux Build Service Account
e524ae06a4 Merge "dsp: adm: change channel number for SMECNS_V2 module" 2018-10-25 03:13:33 -07:00
Linux Build Service Account
6bbd1d460e Merge "asoc: wcd937x: initialize micb lock mutex" 2018-10-23 21:52:56 -07:00
Laxminath Kasam
701e358482 asoc: bolero: Fix gfmux access during SSR
Avoid access of gfmux register during SSR/PDR.
Reset the gfmux state to MCLK_MUX0 after
SSR up event in rx macro.

Change-Id: I2ac611049efd3ce9d03bc9dcd912f64887a23679
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-10-24 00:53:52 +05:30
Linux Build Service Account
c8d4438836 Merge "soc: Add proper null check for client array pointer" 2018-10-23 01:32:56 -07:00
Linux Build Service Account
739ddacb9b Merge "ipc: wcd-dsp-glink: increase timeout to 2 seconds" 2018-10-23 01:32:56 -07:00
Linux Build Service Account
28267437a4 Merge "dsp: msm_audio_ion: unmap dma only if unmap kernel succeeds" 2018-10-23 01:32:54 -07:00
Linux Build Service Account
8f1c3e3970 Merge "ASoC: msm: add tdm clk ref count" 2018-10-23 01:32:53 -07:00
Linux Build Service Account
8d33594d66 Merge "asoc: bolero: avoid TX distortion by runtime HPF param change" 2018-10-23 01:32:51 -07:00
Linux Build Service Account
53b13dd5a6 Merge "dsp: Fix port media type sample rate for APTX AD" 2018-10-23 01:32:47 -07:00
Linux Build Service Account
03072ce6e1 Merge "audio-lnx: ANDROID_BUILD_TOP is deprecated." 2018-10-23 01:32:43 -07:00
kunleiz
c0cd19e0b6 dsp: adm: change channel number for SMECNS_V2 module
SMECNS_V2 module in COPreP topology doesn't support
stereo input. Update channel number to mono for
VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY, which contains
SMECNS_V2 module.

Change-Id: I04b971b41328f6a32bf0ff42b21496b49bb4140b
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
2018-10-22 20:03:58 -07:00
Tanya Dixit
ab8eba8711 asoc: codecs: Add proper NULL checks and initialize variables
Add null checks and initialize unintialized variables in
wsa macro, wcd937x and wcd937x_slave drivers.

CRs-Fixed: 2328286
Change-Id: I76b8d262e42d2b06ece3a6ecba28ed26b13d4447
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
2018-10-22 15:06:48 +05:30
Linux Build Service Account
979ae8e796 Merge "soc: swr-mstr: Mask swrm debug interrupts" 2018-10-20 04:04:10 -07:00
Gerrit - the friendly Code Review server
ffb0f4bf7f Merge changes into audio-drivers.lnx.3.0 2018-10-20 00:26:25 -07:00
Linux Build Service Account
e25f9003c6 Merge "soc: swr-mstr: synchronize swr clock requests" 2018-10-20 00:23:56 -07:00
Linux Build Service Account
df791f4d5b Merge "asoc: bolero: Increase timeout for session down during ssr" 2018-10-20 00:23:54 -07:00
Linux Build Service Account
3004b4f92f Merge "soc: swr-mstr: Register for wakeup irq after disabling clk" 2018-10-19 22:08:41 -07:00
Ramprasad Katkam
6a3050d838 soc: swr-mstr: Register for wakeup irq after disabling clk
During clock stop, Register for lpass wakeup only after
disabling the clock to avoid flooding of interrupts when
master is turned on for pending slave irq.

Change-Id: Ifbf604048d4972beb22b6286930193b83a2249e8
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-19 09:41:16 +05:30
Ramprasad Katkam
13e051c9ab soc: swr-mstr: Mask swrm debug interrupts
Mask swrm debug interrupts as workaround for interrupt
storm issue.

Change-Id: Ic623a3a161d7d04812c4dd4b2e07a3331f5ed7ec
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-19 09:27:12 +05:30
Ramprasad Katkam
6bce2e7374 soc: swr-mstr: synchronize swr clock requests
synchronize swr clock request using mutex and ensure
count becomes zero during ssr.

Change-Id: I3aa933a137d9439742d84fc23b37653da86f3b42
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-18 02:23:43 +05:30
Tanya Dixit
d7a6390344 soc: Add proper null check for client array pointer
Check if snd event client array is null before
dereferencing.

CRs-Fixed: 2328286
Change-Id: I4f7c2a1288ee27df51609e090cb2da2d33624a07
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
2018-10-17 17:30:02 +05:30
Ramprasad Katkam
e23066df2a asoc: wcd937x: initialize micb lock mutex
Micb lock which is used to synchronize micbias
control api is not initialized causing spin lock
errors. Initialize the mutex to avoid the issue.

Change-Id: I580e52e1bd225c2d99bfba4657d80670296709a0
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-10-17 15:58:23 +05:30
Linux Build Service Account
4384fe6966 Merge "asoc: msm: routing: remove WARN() log messages" 2018-10-16 20:46:44 -07:00
Linux Build Service Account
82113d6cac Merge "ASoC: wcd934x: enable MAD fs_cntr by default" 2018-10-16 20:46:44 -07:00
Linux Build Service Account
fee3694cd7 Merge "dsp: enable VAD support on TDM interface" 2018-10-16 20:46:43 -07:00
Linux Build Service Account
9d536a42c5 Merge "dsp: Add restart interface for adsp" 2018-10-16 20:46:42 -07:00
Linux Build Service Account
be5d85827e Merge "dsp: codecs: check buffer size before copy" 2018-10-16 20:46:41 -07:00
Linux Build Service Account
1af19d2b71 Merge "ASoC: sm6150: Use FSA for USBC gnd-mic swap" 2018-10-16 20:46:40 -07:00
Vidyakumar Athota
71699fd35f ipc: wcd-dsp-glink: increase timeout to 2 seconds
There seems to be a delay in processing WDSP open commands
on APPS side. Sometimes it is taking more than 1 second,
results error in wdsp channels initialization. Increase the
timeout value to avoid channel connect failures.

Change-Id: If46251f07763080729858dc612679ee10149f57b
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-10-16 11:43:15 -07:00
Derek Chen
e71ecf6efe ASoC: msm: add tdm clk ref count
Add TDM clock reference count as LPASS
CLK API should only be controlled once
per TDM interface.

Change-Id: I025dc7cce3f1ccfe3b9d0ed652b71773f90d5c6f
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-10-16 10:26:27 -07:00
Linux Build Service Account
0f70258551 Merge "msm: featurize support for 32channels from QDSP6" 2018-10-16 01:49:01 -07:00
Linux Build Service Account
257f0361a8 Merge "dsp: Fix wrong payload size in adm_open command" 2018-10-16 01:49:00 -07:00
Linux Build Service Account
6acb6a2f4d Merge "ASoC: add dai links for tert tdm tx7 and sec rx7" 2018-10-15 21:21:34 -07:00
Linux Build Service Account
1929529772 Merge "asoc: qcs405: Use changed clock for SPDIF interfaces" 2018-10-15 21:21:25 -07:00
Karthikeyan Mani
9c69ccfce6 dsp: msm_audio_ion: unmap dma only if unmap kernel succeeds
If buf unmap is executed without successful kernel unmap
the vmap counter mismatches. Check for error scenarios in
kernel unmap function and ignore buf unmap if not necessary.

Change-Id: I3c5835dcdfe05db4baaa5cf904995ed8f89e9cfe
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-10-15 17:41:45 -07:00
Vignesh Kulothungan
e59d3158a0 asoc: add limit checks for copp index
Check the validity of copp index before calling
adm_close. This avoids redundant error logs in
adm_close.

CRs-Fixed: 2330388
Change-Id: I0b1cef5a45298fe9cbc84d9b944f6f10cec562df
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-10-15 11:40:51 -07:00
Aniket Kumar Lata
1c9ae8ff76 dsp: Fix port media type sample rate for APTX AD
Send sample rate for port media type from APTX AD
config before AFE port start.

Change-Id: I3410428661ad4162539f437bb391c33a60ea1852
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2018-10-15 10:56:21 -07:00
Vatsal Bucha
6cb17a0a3f ASoC: sm6150: Use FSA for USBC gnd-mic swap
USBC gnd mic swap is taken care of by FSA4480.
Gpio does not need to be swapped for this purpose.

CRs-Fixed: 2323772
Change-Id: Ida490995761ec5361ff2302b990d3c6fe1f32f85
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-10-15 16:35:35 +05:30