Some functions in q6asm are declared as static and global with export_symbol
resulting in warning bring generated during compilation. Remove static from
functions to resolve issue.
Change-Id: I2c7be032278f956effc0d230a53fef5e02f771d7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
In the prepare stage of loopback driver, no asm cal data will report info
instead of fatal error, make sure the sequence contiune.
Change-Id: Ib7c1e0efd26838eb6b40d3cce9174dda189c8028
Signed-off-by: Hongtao Peng <hongtaop@codeaurora.org>
During sound card register init call, if swr pdev
is not initialized yet respective soundwire port
config is not updated to soundwire controller device.
In macro drivers, update swr pdev into macro private
data prior to platform device add.
Change-Id: Ifa67471cfc7a10b102b573df6285e598bb0b5e5e
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add check to return if session id is invalid.
Change-Id: Ida0e07b78657102a3bf6e73a1ca23c44ad112426
Signed-off-by: Lakshman Chaluvaraju <lchalu@codeaurora.org>
VBG Fine Voltage should be changed to 0.5V for second source
target. Set it to corresponding value in init.
Change-Id: Ica73f45d7cb4f5f623d3333680894625603ca92c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Ensure persist cal is set for TX path if mode
is not LISTEN.
Change-Id: Ic57c71942b94473d010e90c2a52756637d78595a
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Sometimes during stability enumeration for swr dmics is not
successful due to proper delay not given after reset. Change
delay from 5msec to 10msec to resolve issue.
Change-Id: I0068d75456d9ff787ab49cbbea02438237f7ce89
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
With hs tdm port ids extension, the total port ids exceed 256
and mask 0xFF is not enough to get hs tdm port ids in adm open
callback which cause adm open timeout issue.
Change-Id: I73f3468677433d060f9585a213dea6828d6e16e1
Signed-off-by: Cong Tang <congt@codeaurora.org>
* Add support for AFE_PCM_TX in listen mixer controls
* Modify channel_max for proxy_rx to allow multichannel proxy playback
Change-Id: I388219504a938694425a6eddd9357734f3cab526
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
Add mixer control to set number of backend channels for AFE_PCM_TX
Change-Id: I978ab0a0b00088efd23e544b18b8f88147109373
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
In afe_set_cal_sp_th_vi_cfg and afe_get_cal_sp_th_vi_param
functions, data size is not checked properly which might
lead to out of bounds access.
Add data_size check to avoid out of bounds access.
Change-Id: Ibe049300c609d0d717309bccc65cac876ac075f7
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Set initial vaue for cfg_type to avoid possible
accessing of uninitialized variable.
Change-Id: Ib2fa91202442a656915263694bd6fbf5cd663544
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Fix to set apr Q6 and snd_card to proper state for first SSR
Suggested-by: Karthik D K <kdk@qti.qualcomm.com>
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
Change-Id: Ia0423b033ee4aae196005e526cf11c3324af5992
Change error logs to debug logs for msm_audio_effects_volume_handler
so as to avoid crash during excessive logging.
Change-Id: I83c6e9122493bda09ae5b734ff4dc2dbba7bcb0c
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
Add time stamp marker to notify that ADSP load is complete.
Change-Id: I101d8be79dd46d779502b9d90aa0fc5fcc29046f
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
CONFIG_MSM_BOOT_TIME_MARKER has been removed. So
switch to use CONFIG_MSM_BOOT_STATS to print boot
marker for audio.
Change-Id: I977ceecce7e06706d34acbab3d9b9b0a24abde58
Signed-off-by: Deru Wang <deruwang@codeaurora.org>
When afe port starts failed, allocated port should
be released to avoid subsequent allocation failed.
Change-Id: If0cacce296d14135d23bf45e47de5b253372ea31
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add new mixer ctl to set the adm channels for audio
capture usecase over a2dp.
Change-Id: Id1bf634e45f8a11514ce7ac367d2f2a0afe140bc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add proper param size for AFE_PARAM_ID_PORT_DATA_LOGGING_DISABLE
param id to avoid out of bounds access.
Change-Id: I3ee7131e9d37de60d1809110aa461a84b1089139
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
Add support for setting and getting afe port mad type
for RT Proxy Tx port
Change-Id: I7fc550552883b9eee229af4165d4d564578a889a
Signed-off-by: Tahir Dawson <dawson@codeaurora.org>
Add change to fix cal_data index out of bounds error.
Change-Id: I8c8e62835e496c0f35fdc09757f4206c52020727
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
Add change in q6asm.c to fix uninitialized warning.
Add change in msm-pcm-routing-v2.c to fix out of range warning
Change-Id: I9d29b3cfd3f57ebf07d28ecd775759495b4b3a70
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>