Commit graph

11 commits

Author SHA1 Message Date
Linux Build Service Account
45b6f3e024 Merge "ASoC: sdm660_cdc: Add 192k support for HPH Rx on internal codec" 2017-03-21 05:00:50 -07:00
Laxminath Kasam
fabbb0babe ASoC: sdm660_cdc: Add 192k support for HPH Rx on internal codec
Add support for 192k/96k sampling rates for HPH RX
on SDM660 internal codec.

Change-Id: I364cdfc1b3e086158b6d115b7e4c4ddaf5c132b1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-18 12:34:35 +05:30
Laxminath Kasam
5a51c2c5ef ASoC: sdm660_cdc: Add null check in msm_dig_suspend
In digital codec, null codec pointer access can happen
in suspend call if module register happen with pm_ops
but soc codec register failed for some reason. Add null
check in msm_dig_suspend API to avoid crash scenarios.

Change-Id: I15acb69a1851b7865d2b3aa1b7cb70a4a73c63e3
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-12 18:59:47 +05:30
Divya Ojha
54344baed6 ASoC: codecs: Add PM suspend routines for digital codec
Digital codec soc suspend enables mclk, preventing XO shutdown.
So implement digital codec pm suspend to disable mclk. Add ignore
suspend property to new widgets to resolve powering up and down
during suspend.

Change-Id: I2a773cdfe25d408d95f1c07be71fd4be740e8bf0
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
2017-03-12 06:05:07 -07:00
Laxminath Kasam
0ef57978d0 ASoC: codecs: Fix override of codec driver private data
In SDM660 internal codec drivers, both platform dev probe and
snd_soc codec probe allocate different structures but
update allocated address pointer to same driver data info.
This causes override of earlier structure location.
Combine the structures to make single codec private data.

CRs-Fixed: 2012230, 2013959
Change-Id: I6c6c43f408fb00003ca43d78919f54ba87f37ffd
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-03-06 20:03:05 +05:30
Laxminath Kasam
00d512dc53 ASoC: codecs: Enable SSR for internal codec and WSA
For internal codec SSR, remove regcache sync as
regcache operations over SPMI is not supported.
Enable SSR for both internal codec and WSA codec.

CRs-Fixed: 2001499
Change-Id: I98c363c45973d50654af231d5a7772ba059fccac
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-15 12:25:39 +05:30
Laxminath Kasam
a087b340f4 ASoC: Add support for ADIE RTC on SDM660 internal codec
Update module names of ADIE RTAC for digital and
analog codecs. And update machine driver to
update codec_root of pdata.

Change-Id: Id5c2367a2aac31e80cc0a37f72160b73c7adcdde
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-04 01:44:35 +05:30
Laxminath Kasam
0328d8d137 ASoC: sdm660-cdc: Add 4-mic DMIC support
Add route map and mix controls to support 4 digital mics
in SDM660 internal codec.

Change-Id: Ida16a910961d01a57d7d03dd64b61ecd36bad37d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-04 01:38:57 +05:30
Laxminath Kasam
01a680eb49 ARM: dts: msm: Add audio fixes for SDM660
Update internal codec settings for RX/TX devices.
Disable lpass notifier in analog codec driver.
Handle 44.1K support in machine driver to
disable MCLK before request for change in
MCLK frequency.

Change-Id: I5f78f07da46dee0c66e4e374da600e2e5c5d8e21
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-25 17:42:05 +05:30
Laxminath Kasam
5faffa091e ASoC: Audio bringup fixes for SDM660
Update fixes for SDM660 external and internal
codec variants from audio.

Change-Id: Id2a05700e96f4670181d510d6bce7bccc2919bfc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-17 21:06:56 +05:30
Neeraj Upadhyay
da23c02138 msm: Rename msmfalcon/apqfalcon to sdm660/sda660
Update the code name from msmfalcon/apqfalcon to sdm660/sda660.
As part of this, update the filename containing "falcon" and
files content containing "falcon".

Change-Id: Iec85862251b9e1b4dcc8bdce8b214ce87c0049bc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-28 21:56:21 +05:30
Renamed from sound/soc/codecs/msmfalcon_cdc/msm-digital-cdc.c (Browse further)