OSDN Git Service

ASoC: wcd_cpe_core: Connect to input AFE port during LSM start
authorBhalchandra Gajare <gajare@codeaurora.org>
Tue, 19 Apr 2016 02:14:12 +0000 (19:14 -0700)
committerKyle Yan <kyan@codeaurora.org>
Tue, 24 May 2016 21:26:34 +0000 (14:26 -0700)
commit703d92d617c0caa16cce718f73eb5e650513a88b
treeaef541d0be6e894683edf910f37f121da955e036
parentd9d99a4c5ee6bda519b58a7d4d4be0762a1364ae
ASoC: wcd_cpe_core: Connect to input AFE port during LSM start

Currently the AFE input port is connected to LSM while sending operation
mode parameter to CPE. It is possible that in certain cases, the operation
mode does not need to be sent at all. In such case, the input port still
needs to be connected. Fix this by moving the connection to AFE input port
during LSM_START so everytime LSM is started, it is connected to the
correct AFE port.

CRs-fixed: 1012715
Change-Id: I6dbc344d5d7063c7cfd2fb29c2c39fdee1250bbf
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
sound/soc/codecs/wcd_cpe_core.c