OSDN Git Service

ASoC: pcm: change capture_active to unsigned int
authorWalter Yang <yandongy@codeaurora.org>
Fri, 4 Nov 2016 13:48:03 +0000 (21:48 +0800)
committerWalter Yang <yandongy@codeaurora.org>
Mon, 7 Nov 2016 03:32:05 +0000 (11:32 +0800)
commitd0e976a886a5ea7a90afab9ac8d0dfeb33f01f27
treea7c7941ff9ef4107d54c1c38c20c1e21ab55872d
parent85d7e134cc5d95dfd3a1a5ee5a1d1435633288cd
ASoC: pcm: change capture_active to unsigned int

In combo usecase there are 2 front-end dai's with
same codec dai, for example, multi-phrase ADSP SVA detection.
Using a single bit as the counter causes the counter to roll
over to 0 during combo usecase.
To resolve this, change counter to unsigned int from single bit.

CRs-Fixed: 1086127
Change-Id: I2dd07bd967b7d4fb4878b6d65bd0f011c6b15bdd
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
include/sound/soc-dai.h