OSDN Git Service

ASoC: msm: Update configs for speaker protection on sdm660
authorLaxminath Kasam <lkasam@codeaurora.org>
Thu, 23 Feb 2017 15:11:15 +0000 (20:41 +0530)
committerLaxminath Kasam <lkasam@codeaurora.org>
Fri, 24 Feb 2017 14:09:53 +0000 (19:39 +0530)
commitb05d6bd9aa2af37c103740920b667c81b98ff92c
tree7f8a22bdcbf26b69f4efc8a7feadd0a8c48bb18e
parentac0a983daec732ad6d732683d44d8d69e521afb8
ASoC: msm: Update configs for speaker protection on sdm660

In speaker protection config, default setting uses
4 channels for RX. Update INT4_MI2S hostless session
config with 4 channels to match with speaker protection
config and avoid hw params failure.
As soundwire codec VI sense capture can support
8k and 48k sampling rates, use 48k sample rate as
V/I sense data captured is in sync with playback data
with this sampling rate.

CRs-Fixed: 2003278
Change-Id: I60e3a541096658e28862de70f59ee11b119e37ce
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
sound/soc/msm/msm-dai-fe.c
sound/soc/msm/sdm660-internal.c