Commit Graph

376 Commits

Author SHA1 Message Date
Linux Build Service Account
4a91aba041 Merge "Initial Android target definition for msmsteppe" 2018-04-29 22:23:26 -07:00
Aniket Kumar Lata
c0c314765f asoc: dsp: Add support for adaptive bitrate
Add support for adaptive bitrate with A2DP offload.
Set up Tx feedback path on SLIMBUS_7_TX from BT SoC
to LPASS. Configure AFE encoder and decoder for ABR.
Add bit width support to configure AFE port with
32bit for BT A2DP.

Change-Id: I8e0afaf52561e5dc70318240ba238fc42844501f
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2018-04-29 15:59:32 -07:00
Linux Build Service Account
dce5ddbc21 Merge "asoc: msm: remove machine driver trivial boot up logs" 2018-04-29 08:44:14 -07:00
Linux Build Service Account
502df59d03 Merge "asoc: codecs: remove audio codec core trivial boot up logs" 2018-04-29 08:44:12 -07:00
Linux Build Service Account
a953a60095 Merge "asoc: msm: update names of MI2S and TDM pinctrl states" 2018-04-29 08:44:09 -07:00
Linux Build Service Account
d4afb8cabf Merge "ASoC: add missing mixer control and routings for MI2S" 2018-04-29 08:44:05 -07:00
Linux Build Service Account
e827db3ee0 Merge "asoc: Fix read offset for compress capture with timestamp" 2018-04-29 08:44:00 -07:00
Meng Wang
92edfde1e9 Revert "ASoC: disable source tracking get functionality for sdm855"
This reverts commit 85b6208522
(ASoC: disable source tracking get functionality for sm8150).
Enable source tracking get functionality as the feature is
completely enabled.

Change-Id: I099fae3155f486f1fe89dbdad97c8cb1029f14df
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-04-27 14:30:07 +08:00
Karthikeyan Mani
2c346abb3c asoc: codecs: remove audio codec core trivial boot up logs
Change info logs to debug logs for all trivial
audio codec core logs that appear in boot up.

Change-Id: I797b876f2a9d72a72c3378acac0d8d7f11b5c4a5
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-26 14:51:57 -07:00
Abhishek Arpure
6d74b706f0 Initial Android target definition for msmsteppe
Add MSMSTEPPE in the makefile rules to enable
compilation for SDM640.

Change-Id: I36437404d98229c8b292fd63304498122d8c8687
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
2018-04-26 18:28:03 +05:30
Karthikeyan Mani
ca1c181f99 asoc: msm: update names of MI2S and TDM pinctrl states
The current names of MI2S and TDM pinctrl states are too similar to
the actual pinctrl names. Update names of pinctrl states to avoid
confusion.

Change-Id: I1c775a29a32dad38dcc13ae395bd2557ec3a87c9
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-25 13:56:54 -07:00
Karthikeyan Mani
502766a828 asoc: msm: remove machine driver trivial boot up logs
Change info logs to debug logs for all trivial
machine driver logs that appear in boot up.

Change-Id: I37fb24fb758a81af9ae4be0e735cd9b467f88e70
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-25 13:54:12 -07:00
Meng Wang
5c4bab792d ASoC: add missing mixer control and routings for MI2S
Add missing mixer controls/widgets and routing paths
to avoid audio error logs during bootup.

Change-Id: I3c23cd3e5d1e5e95fcad5f49e3827ef26587e2a3
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-04-25 10:45:33 +08:00
Vikram Panduranga
82c2c2ca00 asoc: Fix read offset for compress capture with timestamp
In a compress capture usecase, read offset guides to
move buffer pointer based on buffer length. When timestamp is
enabled read offset also needs to include timestamp header
offset along with buffer length. This fix addresses the issue
of null memory map handle due to incorrect read offset.

Change-Id: I93c3ec588e77d535b6c7a4a0d832c1e7ea5f62a7
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-04-24 09:48:45 -07:00
Linux Build Service Account
d88c1e68dc Merge "codecs: wcd_spi: do not use on-stack memory for any transfers" 2018-04-21 02:47:44 -07:00
Xiaoyu Ye
19a5e41637 codecs: wcd_spi: do not use on-stack memory for any transfers
Currently, for some small (1/4/8 bytes) transfers, the driver uses
on-stack memory to perform the transfer. This is not safe as the
underlying master/dma driver could try to map/dma this memory.
Change makes sure to never use on-stack memory for any transfers.

Change-Id: I6b157e26ea7ca9f865004a87153c658756f6c368
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-04-18 14:31:17 -07:00
Xiaoyu Ye
60c105d5c9 audio-kernel: update chipset name
Update all audio drivers to use updated chipset name in
files, functions, architecture specific configurations
and the device tree compatible strings.

Change-Id: I507948866213ddb8806edea71a57c1f29ce7e71b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-04-18 10:34:42 -07:00
Linux Build Service Account
5f0b5040eb Merge "ASoC: Add audio support for sdmshrike" 2018-04-16 10:12:01 -07:00
Linux Build Service Account
dc591563b4 Merge "audio-kernel: update chipset name" 2018-04-14 07:51:48 -07:00
Linux Build Service Account
ab0ed7c423 Merge "asoc: fix possible overflow issue for routing driver" 2018-04-12 10:53:04 -07:00
Banajit Goswami
f58e5fcf72 audio-kernel: update chipset name
Update all audio drivers to use updated chipset name
in architecture specific configurations and the device
tree compatible strings.

Change-Id: Ib1abe643c6914c1b0b57ef110c7b60e23e356d97
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2018-04-11 16:18:52 -07:00
Sudheer Papothi
e3842cf831 ASoC: Add audio support for sdmshrike
Add audio support for sdmshrike.

Change-Id: I0b86ab7b123a3215617b81a645202785f6810d02
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-04-11 10:53:22 -07:00
Meng Wang
05d5e9aeed asoc: fix possible overflow issue for routing driver
The reg in soc_mixer_control is 32-bit. When using
SOC_SINGLE_EXT, the value of FE DAI ID which is passed
as shift(to be operated on the reg) may be more than 31,
which may cause overflow.
Use SOC_DOUBLE_EXT instead of SOC_SINGLE_EXT so that the
reg field can be set to SOC_NO_PM to avoid any DAPM operation,
while passing BE and FE IDs in shift and rshift fields. And
these values can be retrieve in get/put functions and use them.
This is to avoid any possible overflow in DAPM operation.

Change-Id: I17fa4e059889ae725e6f015a779f518e6d0a813f
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-04-09 10:01:23 +08:00
Linux Build Service Account
85e1e33bb9 Merge "asoc: remove tdm optional properties boot logs" 2018-04-04 01:12:22 -07:00
Linux Build Service Account
a8902668e9 Merge "ASoC: msm: check payload size before memory allocation" 2018-04-04 01:12:21 -07:00
Linux Build Service Account
d100585a8a Merge "ASoC: fix compilation warnings after enabling LLVM" 2018-04-03 01:01:10 -07:00
Karthikeyan Mani
b3c62d149e asoc: remove tdm optional properties boot logs
Move the tdm device property logs from probe function
to prepare function to print them only when tdm usecase
is started and not during bootup.

Change-Id: I3844709d501bf510620d6f20f270e30c68e78b78
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-02 11:24:27 -07:00
Xiaojun Sang
75642c362c ASoC: msm: check payload size before memory allocation
Buffer from mixer ctl or ADSP is composed of payload size and
actual payload. On a 32 bit platform, we could have an overflow
if payload size is below UINT_MAX while payload size + sizeof(struct)
is over UINT_MAX. Allocated memory size would be less than expected.
Check payload size against limit before memory allocation.

Change-Id: I0bf19ca7b8c93083177a21ad726122dc20f45551
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-04-02 22:00:23 +08:00
Xiaojun Sang
992b2f0fa1 ASoC: codecs: wcd: avoid redundant component unbind
Component unbind happens in component_bind_all, if component
bind fails. There is no need to call extra component_unbind_all.

Change-Id: I4ff2aececc5e10c5c4cfbe71778630c621768349
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-04-01 17:55:45 -07:00
Linux Build Service Account
d370eb7911 Merge "asoc: codecs: probe defer till mclk is available for wcd9360" 2018-03-30 18:20:42 -07:00
Vidyakumar Athota
c3b3df985d asoc: codecs: probe defer till mclk is available for wcd9360
Sometimes codec enumerates before APPS APR communication happens
with ADSP. Since wcd9360 MCLK request goes through APR, defer the
codec probe till mclk is available.

Change-Id: Ief5bb80f4c62fcf58a8cc93f11a9b4536f883d1e
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-29 18:46:32 -07:00
Meng Wang
249b1f9bf1 ASoC: fix compilation warnings after enabling LLVM
After enabling compilation with LLVM for audio drivers,
some assignment warnings are reported. Add this change
to resolve the compilation warnings.

Change-Id: I571b2e210053bc0b80d65cd272ce1751e0ed10fb
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-30 09:32:16 +08:00
Linux Build Service Account
52810d665e Merge "asoc: wcd-mbhc: enable mbhc clk based on L_DET" 2018-03-24 03:43:14 -07:00
Linux Build Service Account
2df0d1fedc Merge "asoc: msm: assign mic gnd swap function" 2018-03-23 21:46:19 -07:00
Karthikeyan Mani
8d772b0efb asoc: wcd-mbhc: enable mbhc clk based on L_DET
Enable or disable mbhc clk in sync with L_DET
so that L_DET interrupt is not raised for
false positives for usbc analog.

Change-Id: I69792e8dc82cdc80751f2c1c705f603074cb9a2f
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-23 10:35:59 -07:00
Karthikeyan Mani
24be60db0c asoc: msm: assign mic gnd swap function
Assign mic gnd swap function if usbc analog is
enabled. This is irrespective of whether us_euro
gpio is defined.

Change-Id: I6cf5beadca18682a7488db2286986883dbbcdf3d
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-22 10:13:45 -07:00
Vidyakumar Athota
e6c80a9d09 asoc: codecs: update wcd routing to fix warnings
WCD9360 audio routing map is updated to avoid boot up
warning logs. Also updated on-demand supply name.

Change-Id: I66b8a4e28ec31a5337bfe2aede9b347edb94b291
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-21 18:30:03 -07:00
Vidyakumar Athota
4e6f1e37db asoc: msmnile: update audio mic widgets
Remove unused mic widgets and add new mic widgets
required for msmnile target.

Change-Id: I5e5ed56a80324b48599a00a196d99ed4ab386412
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-21 18:28:13 -07:00
Linux Build Service Account
257abe3e99 Merge "asoc: codecs: set boost state to MAX_STATE_2 for WSA8815" 2018-03-21 10:17:17 -07:00
Linux Build Service Account
6438447c30 Merge "dsp: Mark cal block after use" 2018-03-21 04:07:39 -07:00
Linux Build Service Account
ed523bc624 Merge "asoc: wcd934x: update register default values before post SSR" 2018-03-21 01:40:57 -07:00
Linux Build Service Account
3cf90f9a08 Merge "asoc: codecs: add null pointer check for swr control data" 2018-03-21 01:40:55 -07:00
Linux Build Service Account
443e3c2544 Merge "asoc: wcd-mbhc: disable button current source after removal" 2018-03-21 01:40:54 -07:00
Linux Build Service Account
c0f79e7211 Merge "ASoC: wcd9360-dsp-cntl: Limit array size of val" 2018-03-21 01:40:51 -07:00
Linux Build Service Account
d4ba1285d1 Merge "asoc: codecs: update wcd9360 interrupt table size" 2018-03-21 01:40:50 -07:00
Xiaojun Sang
09cd2ac5e9 asoc: codecs: set boost state to MAX_STATE_2 for WSA8815
WSA8815 requires default boost state of MAX_STATE_2, when
speaker protection feature is disabled. Set boost state to
MAX_STATE_2 in all cases for WSA8815.

Change-Id: Ic700d9a206e94a4cdd1d99f8547bed9df1e759e8
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-03-21 10:36:31 +08:00
Vidyakumar Athota
b41e711b68 asoc: codecs: update wcd9360 interrupt table size
WCD9360 interrupt table size is invalid. Update it to
correct size.

Change-Id: Ie2ec848d8a75b6889957954c9444d261a70f4c4e
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-19 18:17:54 -07:00
Linux Build Service Account
c002ec2d3b Merge "asoc: codecs: remove devm clean up functions" 2018-03-17 06:06:26 -07:00
Vikram Panduranga
770b8383d2 dsp: Mark cal block after use
After applying calibration on DSP, cal block
is marked stale to ensure same calibration is not
reused for future usecase.

Change-Id: I9f446c0602f4ab34ca71b9d2611319624fb19cd2
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-03-16 17:54:53 -07:00
Karthikeyan Mani
6bcd94a7ce asoc: wcd-mbhc: disable button current source after removal
After headset removal disable button current source
to not have any voltages output in micbias after
headset removal from extension cable.

Change-Id: I2a751c16c704176381bb26f375aebf351686e911
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-16 14:48:59 -07:00
Karthikeyan Mani
24afb6e390 asoc: codecs: add null pointer check for swr control data
Null check is needed before accessing swr control data
to ensure proper error handling in case speaker path
is issued when swr is not enabled.

Change-Id: I5037a912652189b3ae58f1119d0534777a9c264a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-16 14:46:33 -07:00
Vidyakumar Athota
a347bbd7c8 asoc: codecs: remove devm clean up functions
Devm clean up functions are removed to avoid calling twice
as these are excuted during removal of device.

Change-Id: Ifddde69d189b59456ef7627f32532198654e40d3
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-15 19:20:14 -07:00
Vidyakumar Athota
7dcd2d585f asoc: codecs: register pahu codec with slimbus
Add pahu-slim-ngd under wcd_slim_device_id list to
register pahu codec with slimbus driver.

Change-Id: I87a9a56087fd1520fe592b39eb142297c2f176e0
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-14 16:55:30 -07:00
Linux Build Service Account
5d5790373e Merge "ASoC: Change PRODUCT_OUT to OUT in Kbuild" 2018-03-12 12:13:54 -07:00
Linux Build Service Account
175101e705 Merge "asoc: msmnile: add usbc analog handle parsing" 2018-03-09 22:40:01 -08:00
Linux Build Service Account
c33373ce6a Merge "asoc: wcd-mbhc: add support for usbc analog audio on msmnile" 2018-03-09 07:37:55 -08:00
Linux Build Service Account
cc4844484e Merge "ASoC: Add Euro usb-c analog support for sdm670 internal codec" 2018-03-09 07:37:54 -08:00
Linux Build Service Account
841136de69 Merge "asoc: sdm660: Add new dais for multiple record session" 2018-03-09 03:24:45 -08:00
Linux Build Service Account
15751124fa Merge "asoc: Add new dais to support compress record" 2018-03-09 03:24:44 -08:00
Meng Wang
bb4029020d asoc: wcd934x: update register default values before post SSR
Update register default values before post SSR to avoid codec nack issue.

Change-Id: Ibf1e3275d27c4b65ab179b9ddc5a51621c89eab7
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-08 20:34:24 -08:00
Karthikeyan Mani
a29178a08e asoc: msmnile: add usbc analog handle parsing
Add change to parse fsa handle in machine driver
to use it to call gnd/mic swap api of fsa driver.

Change-Id: Ie9c2aede45138b0d4e3bf94f11feccab47874223
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-03-08 12:06:27 -08:00
Phani Kumar Uppalapati
8fe02478b7 asoc: wcd-mbhc: add support for usbc analog audio on msmnile
Add support for usbc analog audio for msmnile platform
by adding fsa driver calls in mbhc driver to make
any switching orientation changes of gnd/mic.

Change-Id: Iab7511907325a24345734402c10a4cf5f8ebfa23
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2018-03-08 12:02:18 -08:00
Linux Build Service Account
d6a2b8187f Merge "ASoC: Update config of SND_HWDEP" 2018-03-08 04:02:54 -08:00
Xiaoyu Ye
3bda9b1de1 asoc: wcd934x: optimize ANC enablement logic for Tavil codec
In Tavil driver, both ANC0 and ANC1 channel registers are written when
each ANC channel is enabled. This logic results in high latency during
ANC enablement on Tavil codec. Optimize this logic by only writing the
corresponding channel registers when enabling ANC0 or ANC1.

Change-Id: I62e8572967e6ca6c851cbaaad5f1b8c19e5b1a5f
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-03-07 17:25:34 -08:00
Meng Wang
e61ddb01f8 ASoC: Change PRODUCT_OUT to OUT in Kbuild
Update module symbol folder from PRODUCT_OUT to OUT.

Change-Id: I4542c3d2b5e9e39b69f15954ef425c1915a58456
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-07 11:18:35 +08:00
Linux Build Service Account
8e490a16e1 Merge "ASOC: wcd934x: Fix finding of correct AMIC" 2018-03-06 09:03:15 -08:00
Linux Build Service Account
1ade31441a Merge "asoc: msm-cpe-lsm: use kmalloc for slim_port_xfer buffers" 2018-03-06 00:11:21 -08:00
Linux Build Service Account
25f8bfc04a Merge "ASoC: AQT1000: Fix hardware sequence for AQT1000" 2018-03-06 00:11:20 -08:00
Linux Build Service Account
d4e99f4fc9 Merge "ASoC: msmnile: Add support for WCD934x codec on msmnile target" 2018-03-05 19:47:24 -08:00
Vatsal Bucha
a74bac9050 ASoC: Add Euro usb-c analog support for sdm670 internal codec
Euro usb-c analog support is not present in machine driver
for sdm670. Add support for corresponding gpio
so that usb-c analog headset is reported correctly.

CRs-Fixed: 2164436
Change-Id: I4bf73a9f13b7b8193289706ac21f96c557503fd8
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-03-06 11:10:30 +08:00
Linux Build Service Account
65a1efdc28 Merge "ASoC: wcd9360: Fix re-definition errors due to dynamic detection" 2018-03-05 14:10:13 -08:00
Linux Build Service Account
ca201420ca Merge "ASoC: dsp: Update audio effects driver to support Instance ID" 2018-03-05 14:10:08 -08:00
Linux Build Service Account
7f1bb371ec Merge "ASoC: dsp: Update ADM driver to support Instance ID" 2018-03-05 14:10:08 -08:00
Sudheer Papothi
ca7ca2c804 ASOC: wcd934x: Fix finding of correct AMIC
During Tx path enablement, amic information is needed for proper
power level settings and for better performance. Existing API returns
incorrect amic information. Changes provide the correct amic information.

Change-Id: I18f3f35212cae47e5d944c2e075f03889147722b
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 13:24:15 -08:00
Sudheer Papothi
8bb6f40917 ASoC: AQT1000: Fix hardware sequence for AQT1000
Fix hardware sequence for AQT1000 as per hardware
requirements to bring codec out of reset for playback
and capture usecases on headset.

Change-Id: I7419aec36aefc2887583308a60d1ea246d000469
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 18:24:25 +05:30
Sudheer Papothi
15a617e254 ASoC: msmnile: Add support for WCD934x codec on msmnile target
Add frontend and backend dailinks for playback and capture paths
of WCD934x codec and runtime detection support of WCD934x codec
and WCD9360 codec on msmnile target.

Change-Id: Iff189a89c6515a6196714a00d21a0fb4de939e3f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 18:07:49 +05:30
Linux Build Service Account
e542fb699a Merge "ASoC: config: Enable configuration for WCD934x codec" 2018-03-05 00:58:01 -08:00
Vignesh Kulothungan
fa497d2051 ASoC: dsp: Update audio effects driver to support Instance ID
Add support to set and get audio effects module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I0fdba2560950c931a2ec6f152499fd4bb9f59086
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:22:34 -08:00
Vignesh Kulothungan
916967ba22 ASoC: dsp: Update dap driver to support Instance ID
Add support to set and get dap modules params with
Instance ID support for both Dolby and DS2.
Maintain support for non Instance ID set and get param
structures as well. Use common pack and set param
functions to set and get parameters to DSP instead of
handling them at an individual module level.

CRs-Fixed: 2151551
Change-Id: I1633b63a1a598c0e4ea874d00655b09a240a47e3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:21:47 -08:00
Vignesh Kulothungan
60cc03517f ASoC: dsp: Update ADM driver to support Instance ID
Add support to set and get ADM module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I5ef920448dd827d8a315e248087997f703061263
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-04 23:21:10 -08:00
Sudheer Papothi
e882fea9cd ASoC: wcd9360: Fix re-definition errors due to dynamic detection
Enablement of WCD934x and WCD9360 codecs for dynamic detection
results in redefinition errors due to same enums and API definition
in WCD934x and WCD9360 codec drivers. Resolve the same.

Change-Id: Ifed50dc1df0562ba62b14187597cad2bed6c1115
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 10:54:23 +05:30
Sachin Mohan Gadag
b52a3775e2 asoc: sdm660: Add new dais for multiple record session
Add new dais to support multiple record session in
compress path.

CRs-Fixed: 2167556
Change-Id: I2020adc2fd2e56e7ad76529e53a772963a64cdd9
Signed-off-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
2018-03-04 18:55:16 -08:00
Sachin Mohan Gadag
7c944235ae asoc: Add new dais to support compress record
Add new dais to support compress record usecase.
Update media_encoder_format api to v4 version in
compress driver.

CRs-Fixed: 2167556
Change-Id: I8a2f8a4cdcec4bb31ad94730eb4f1259e800c70c
Signed-off-by: Sachin Mohan Gadag <sgadag@codeaurora.org>
2018-03-04 18:54:41 -08:00
Laxminath Kasam
9a8caf4aaf ASoC: Update config of SND_HWDEP
As CONFIG_SND_HWDEP is defined by default
in kernel tree, msm-pcm-routing-devdep.c file
in audio drivers gets compiled always.
Use CONFIG_SND_HWDEP_ROUTING config instead of
CONFIG_SND_HWDEP to compile msm-pcm-routing-devdep.c
file.

Change-Id: I19c4b0a56dbe6c4890ece645fcf100687f762f5d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-03-05 10:49:38 +08:00
Vignesh Kulothungan
cc3ff17850 ASoC: dsp: Update voice driver to support Instance ID
Add support to set and get voice module params with
Instance ID support. Maintain support for non
Instance ID set and get param structures as well.
Use common pack and set param functions to set and
get parameters to DSP instead of handling them at an
individual module level.

CRs-Fixed: 2151551
Change-Id: I045e27710d69304f234ace1ff6c80afdd4a4041c
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:16:04 -08:00
Vignesh Kulothungan
5c10992ad9 ASoC: Expose APIs to get and set Instance ID support
Expose APIs to get and set instance ID support by exposing a
mixer control for userspace to set the support status as well
as APIs for kernel components to querry for instance ID support.

CRs-Fixed: 2151551
Change-Id: I3b462a4c0f31152a2865af8f4e9664a6c4d324c3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2018-03-03 15:14:11 -08:00
Linux Build Service Account
a2060b3fa2 Merge "ASoC: msmnile: enable MBHC support for msmnile target" 2018-03-03 07:19:53 -08:00
Linux Build Service Account
19bbaa8699 Merge "asoc: msm: Update routing and FE DAI drivers" 2018-03-03 04:24:02 -08:00
Linux Build Service Account
9ebd03032c Merge "ASoC: rmmod fixes for audio drivers" 2018-03-02 23:16:37 -08:00
Linux Build Service Account
fac3091df1 Merge "asoc: sdm660: fix tasha lite detection issue" 2018-03-02 23:16:35 -08:00
Linux Build Service Account
3968f84b45 Merge "ASoC: wcd934x: Update OCP before HPH PA enable/disable" 2018-03-02 23:16:33 -08:00
Linux Build Service Account
3162dd4812 Merge "asoc: codecs: add a null pointer check in mbhc driver" 2018-03-02 23:16:32 -08:00
Linux Build Service Account
ff7151c4fc Merge "asoc: codecs: Add mutex lock for CPE session" 2018-03-02 23:16:30 -08:00
Linux Build Service Account
d72f26167d Merge "ASoC: wcd-spi: ignore failure from clearing the CLK_REQUEST" 2018-03-02 23:16:28 -08:00
Linux Build Service Account
43667ec287 Merge "asoc: codecs: update IIR cofficient values before IIR band enable" 2018-03-02 23:16:27 -08:00
Linux Build Service Account
c637a41394 Merge "asoc: wcd-dsp-utils: add size check for WDSP ELF files" 2018-03-02 23:16:26 -08:00
Linux Build Service Account
1c4fdf20c6 Merge "asoc: wcd_cpe_core: add size check for WDSP ELF files" 2018-03-02 23:16:25 -08:00
Linux Build Service Account
29653431ab Merge "asoc: codecs: Fix tavil i2s max rate and cleanup" 2018-03-02 23:16:23 -08:00
Linux Build Service Account
e0a249812a Merge "asoc: codecs: Add i2c interface support for tavil" 2018-03-02 23:16:22 -08:00
Linux Build Service Account
30b55459e3 Merge "asoc: codecs: wcd9360: add delay after LDO_RXTX enable" 2018-03-02 23:16:21 -08:00