Grafico dei commit

1192 Commit

Autore SHA1 Messaggio Data
Linux Build Service Account
1e9ef98142 Merge "ASoC: wcd-irq: correct identifier name to fix compile error" 2018-12-07 13:20:51 -08:00
Linux Build Service Account
c4ee98397f Merge "asoc: routing: update app type config get function" 2018-12-07 13:20:50 -08:00
Linux Build Service Account
6503d5b287 Merge "asoc: add snd_dec_ddp struct for AC3 and EC3 playback" 2018-12-07 13:20:48 -08:00
Meng Wang
64aae620b0 ASoC: wcd-irq: correct identifier name to fix compile error
The two arguments in functions wcd_request_irq, wcd_free_irq,
wcd_enable_irq and wcd_disable_irq have same identifier names.
Correct wcd_irq_info identifier name to fix compile error

Change-Id: I6f240d3af1cd253336d070d0f3228eae96a4fcb6
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-07 11:19:46 +08:00
Meng Wang
d6107d0bbe asoc: clean up audio drivers and remove unused files
Clean up audio drivers and remove unused files.

Change-Id: I50559ac3c5f4a1f4336e4480cd3ff235d015441e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-06 15:04:09 +08:00
Meng Wang
adbca4f654 asoc: routing: update app type config get function
Update app type config get function and userspace can
get the app type config with mixer control.

Change-Id: I78eda2963161936ae1dbf90dad1bfb64cb079e8d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-06 13:42:40 +08:00
Meng Wang
1b52b57ad2 asoc: add snd_dec_ddp struct for AC3 and EC3 playback
Move struct snd_dec_ddp from uapi folder to msm-compress-q6-v2.c to
avoid code check warning.

Change-Id: Id33eee6da8f42841c80e7e5795bb19e71ab6e784
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-11-28 02:55:16 -08:00
Linux Build Service Account
53ad8477b6 Merge "asoc: codecs: Correct the clk users increment/decrement logic" 2018-11-24 23:09:30 -08:00
Linux Build Service Account
164fffc986 Merge "asoc: codecs: wcd937x: Optimize HPH PA delays" 2018-11-22 20:08:59 -08:00
Linux Build Service Account
3e440a8895 Merge "wcd937x: Use MICBIAS2 instead of MICBIAS1 for MICB2_VOUT" 2018-11-22 20:08:57 -08:00
Linux Build Service Account
506d3c19c6 Merge "dsp: fix configuration of EC reference" 2018-11-22 20:08:56 -08:00
Vatsal Bucha
4b8884a7ae ASoC: wcd: Remove non-essential current source votings from adc
Zdet current source is enabled for 4 pole aux cable and kept
even after plug removal. This increases voltage for both hph left and
right which causes error in cross-connection detection for subsequent plug
detections. Remove current source enablement from unrequired places.

CRs-Fixed: 2234559
Change-Id: Icffbca88f7a6873c509c91e31b494dd6d5d21cb9
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-22 00:54:35 -08:00
Gerrit - the friendly Code Review server
4894c6e6b2 Merge changes into audio-drivers.lnx.3.1 2018-11-21 20:58:54 -08:00
Linux Build Service Account
efce0f1657 Merge "ASoC: wcd9335: Add support for Microphone Activity Detection" 2018-11-21 20:45:55 -08:00
Linux Build Service Account
e515ae3fc2 Merge "msm: update auto suspend delay for voting LPASS NPA resource" 2018-11-21 20:45:54 -08:00
Linux Build Service Account
d07fc81d86 Merge "dsp: audio_ion: Update IOVA start address from dt entry" 2018-11-21 20:45:53 -08:00
Linux Build Service Account
e83932585b Merge "Asoc: codec: Fix compilation errors for sdmsteppe target" 2018-11-21 20:45:52 -08:00
Linux Build Service Account
a49eeaac30 Merge "Asoc: Enable audio-dlkm compilation for sdmsteppe target" 2018-11-21 20:45:52 -08:00
Linux Build Service Account
5bbb86f402 Merge "asoc: msm-audio-effects: initialize struct before use" 2018-11-21 20:45:50 -08:00
Linux Build Service Account
b5caafccd1 Merge "asoc: msm: update max eq sessions based on fe dai max" 2018-11-21 20:45:49 -08:00
Linux Build Service Account
b6c04f460a Merge "asoc: sm8150: use locked version of soc_find_component" 2018-11-21 20:45:48 -08:00
Linux Build Service Account
06fa13565c Merge "dsp: avtimer: Update function pointers for camera isp to use avtimer" 2018-11-21 20:45:46 -08:00
Aditya Bavanari
c496ed25a9 asoc: codecs: Correct the clk users increment/decrement logic
The clk users count goes out of sync with the actual
clk requests from clients during SSR/PDR. Increment the
clk users only after the clk request is successful.

Change-Id: I512f037a118f4763a64e7a64f7f559bcfa37a37f
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2018-11-21 02:21:35 -08:00
Laxminath Kasam
7c8ff05871 asoc: codecs: wcd937x: Optimize HPH PA delays
On headphone path, cold start output latency
is not met. Optimize delays during HPH DAC
and PA paths.

CRs-Fixed: 2338278
Change-Id: If96975d664fc655a4ac38a9d6ed88b6af61adfdf
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-21 14:41:00 +05:30
Laxminath Kasam
35849ccf24 asoc: codecs: Fix CnP on HPH turnon and turnoff
On headphone(HPH) path, CnP spec is not met.
Handle sequences for bolero and tanggu codecs
as per HW sequences. Disable vdd_buck during
system suspend when no usecase is active.

CRs-Fixed: 2343436
Change-Id: I62f89d829715f07885a97531fdcb2cc3ca0822ef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-21 14:40:00 +05:30
Dieter Luecking
4162083535 dsp: fix configuration of EC reference
The check open_v8.endpoint_id_2 != 0xFFFF can only
be true if changed after initializing open_v8.endpoint_id_2
to 0xFFFF. If not, EC reference will never be configured
correctly. Fixing code to account for that.

Change-Id: I8d2aba19ae1f60ace118c828a98d5fecb149be18
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
2018-11-21 09:12:30 +01:00
Linux Build Service Account
3a0e91bf0c Merge "ASoC: wcd937x: Fix pop after PDR" 2018-11-20 19:53:17 -08:00
Linux Build Service Account
523f345c3a Merge "asoc: codecs: bolero: Disable HD2 on RX macro" 2018-11-20 19:53:16 -08:00
Linux Build Service Account
aea561ec79 Merge "asoc: wcd937x: Handle button press before release interrupt" 2018-11-20 19:53:15 -08:00
Linux Build Service Account
3b193e414d Merge "dsp: q6adm: fix boundary check for copp idx" 2018-11-20 19:53:13 -08:00
Linux Build Service Account
e0d44204fe Merge "ASoC: msm: remove pcm_i2S_sel_vt_address from machine driver" 2018-11-20 19:53:12 -08:00
Linux Build Service Account
13c086dcee Merge "ASoC: wcd934x: mark wdma3 output widget as ignore_suspend" 2018-11-20 19:53:11 -08:00
Linux Build Service Account
56d0f0500e Merge "ASoC: dsp: correct return value check" 2018-11-20 19:53:09 -08:00
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
Laxminath Kasam
356b68c1e2 dsp: avtimer: Update function pointers for camera isp to use avtimer
After DLKM, avtimer functions cannot be invoked directly
from kernel driver. Camera driver exposes API to get the
function pointers to use avtimer. Update the function
pointers by calling respective camera set API.
AVTIMER_LEGACY config should be enabled in audio conf
to enable this support.

CRs-Fixed: 2201340
Change-Id: I165e7ea0226e174288f3e8b81ef01fce137e2e35
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-11-20 11:52:27 -08:00
Karthikeyan Mani
773b1d1ad0 asoc: sm8150: use locked version of soc_find_component
Use soc_find_component locked version to ensure proper
access of component list while trying to find wsa
components from the list.

Change-Id: I1960d5b023c3d59f5c97ca0f616b4d9e39c15c50
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-11-20 10:34:09 -08:00
Vatsal Bucha
2a7cbe473a wcd937x: Use MICBIAS2 instead of MICBIAS1 for MICB2_VOUT
MICBIAS1 is mapped to MICB2_VOUT. Replace it with
MICBIAS2 as MICBIAS2 is used for mbhc detect.

Change-Id: I23bade728f0c5b9de75d78ccb70e57d74f01adbb
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-19 22:03:16 -08:00
Md Mansoor Ahmed
26d8bddff4 Asoc: codec: Fix compilation errors for sdmsteppe target
Fix compilation errors for sdmsteppe target.

Change-Id: I511bfd5271d04b455e46a101c47ea1535681dcca
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
2018-11-20 11:07:28 +05:30
Md Mansoor Ahmed
2382aaad1a Asoc: Enable audio-dlkm compilation for sdmsteppe target
Enable compilation for sdmsteppe target and also fix
compilation errors.

Change-Id: I18a13764415ae955843706943e338bb575c11853
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
2018-11-20 11:06:32 +05:30
Mangesh Kunchamwar
eb1fdd1afc msm: update auto suspend delay for voting LPASS NPA resource
Reduce auto suspend delay to 100ms from 1500ms for voting LPASS
NPA resource to reduce delay in entering LPASS into island mode.

Change-Id: Ic38f7b9e8d794963e51c30dfd03da586bca84bd2
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-11-19 16:18:33 +05:30
Vatsal Bucha
79da9fb84a ASoC: wcd937x: Fix pop after PDR
Pop is heard after PDR is triggered. This is
because while device down PA is still on.
Disable PA before SSR device down to prevent pop.

Change-Id: I6bfe3e731bdf60fba8fee90ab39c03a0512006ce
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-19 14:41:52 +05:30
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
Meng Wang
49e9a4081b ASoC: msm: remove pcm_i2S_sel_vt_address from machine driver
lpaif_muxsel_virt_addr to select AUXPCM or I2S is not needed in
machine driver. ADSP would select AUXPCM or I2S according to
afe port.
Remove related change in machine driver.

Change-Id: I55520a56bab2134a08e86909b98eb15d588c53ba
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-11-16 17:18:24 -08:00
Bhalchandra Gajare
9ae91fb765 ASoC: wcd934x: mark wdma3 output widget as ignore_suspend
Paths using WDMA3_OUT widget are currently not marked to be ignored
during suspend, which results in the path teardown during suspend.
Due to this the audio use-case is broken. Fix this by marking
WDMA3_OUT widget as ignore_suspend.

CRs-fixed: 2176596
Change-Id: I72a2dda21aabfe9b13ea8660d4e3a51b3185d9ea
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2018-11-16 17:14:17 -08:00
Meng Wang
d9fa69c9e7 ASoC: dsp: correct return value check
When the return value of adm_populate_channel_weight is 0, it should
keep running, not return error.

Change-Id: I447b81d6edfc89db6cb3742c1719e745c6071c12
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-11-16 12:23:30 -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