9 Commits

Author SHA1 Message Date
David Lin
c35edd8e68 Revert "Revert sound related patches from AU143 drop"
This reverts commit f33fc5fecd.
Change-Id: Ida6250fd474f837edb3a886490db54bcb2fd756d
2017-05-19 06:14:07 +00:00
Thierry Strudel
f33fc5fecd Revert sound related patches from AU143 drop
53e904e27f ASoC: msm: qdsp6v2: allow zero size calibration for LSM
a01a170500 ASoC: wcd934x: force the wdsp clock to be ungated
7658bb94b2 ASoC: wsa881x: Assign device number in reset
00c81630cd ASoC: wsa881x: Add support for unloading speaker module
f1504ccbde ASoC: msm: Add support for multiple module unload and load
c0f9505871 ASoC: wcd-mbhc: Add support for unloading mbhc
44e6c85cbf soundwire: Remove startup from swr_driver structure
aa69b5e7fd ASoC: wsa881x: Add loadable module support for WSA
7e7eb003d4 soundwire: Move device init functionality from master
cda1cb26c8 ASoC: msm: Add loadable module support for machine driver

Bug: 38393378
Change-Id: I66235ec583f00a42eda571ffdfe8a06a581b8d71
2017-05-17 16:44:22 -07:00
Karthikeyan Mani
44e6c85cbf soundwire: Remove startup from swr_driver structure
Remove the startup function declaration from struct
swr_driver as it is has been removed as part of
moving soundwire device functionality from swrm
master probe to the swr device probe.

CRs-fixed: 2036684
Change-Id: I2c0a38c609f87c432e3cd29694caf1d2f1a272e2
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-04-24 19:01:11 -07:00
Karthikeyan Mani
7e7eb003d4 soundwire: Move device init functionality from master
Move from master probe to the slave probe, the
device init functionality of swr slave. Provide
device remove functionality to remove a given
device from the master list.

CRs-fixed: 2036684
Change-Id: Iee95c146d8b148e15dca5a8c10de65368cf3b55a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2017-04-24 18:45:56 -07:00
Phani Kumar Uppalapati
ae4cedcf33 soundwire: Add API to ungroup soundwire slave devices
Add soundwire API to remove the soundwire slave devices
from group so that the devices can be controlled
independently as required.

CRs-fixed: 1007465
Change-Id: Ibca3e33c0e85629ae5ce121e75526f4786d6408a
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-05-20 13:33:55 -07:00
Phani Kumar Uppalapati
22ba2185da soundwire: Add API to control slave device data path
Add soundwire API to control slave device data path
enable or disable. This gives slave device drivers
more flexibility for data path control during device
path enablement.

CRs-fixed: 996586
Change-Id: Ic0ab015098035418458a5ba7c2ffad9df20f933c
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-05-06 12:06:19 -07:00
Sudheer Papothi
fa92c7f037 soundwire: Use broadcast command for device configuration
Use soundwire broadcast command for configuration of all slave
devices simultaneously. This change improves latency during
slave devices configuration.

Change-Id: Ie2985e444e4aa1128856dc6ae372f8f4cca943de
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:13:11 -07:00
Sudheer Papothi
7b9c5205f5 soundwire: Add support to use group id for slave devices
Devices with the same group id or broadcast command can be
configured simultaneously. This will help improve the latency
during device configuration. Add support to use group id
for slave device configuration.

Change-Id: I5e86e61a0b5223de6c6471f3f342fe1f387d81ef
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:13:10 -07:00
Sudheer Papothi
03f5d7efe2 ASoC: wcd: Add Audio codec drivers for MSM targets
Add snapshot of audio codec drivers for MSM targets. The
code is migrated from msm-3.18 kernel at the below commit/AU level-

AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056
(e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1)
(Promotion of kernel.lnx.3.18-151201.)

Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 20:11:28 -07:00