ASoC: pcm: change playback_active to unsigned int
In combo usecase there are 2 front-end dai's with same codec dai. 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: 1049348 Change-Id: I196802e6d23a9292ff2915c1b4b61c2b3ead9fa8 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:
parent
008f057bba
commit
1846003b5d
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ struct snd_soc_dai {
|
|||
|
||||
/* DAI runtime info */
|
||||
unsigned int capture_active:1; /* stream is in use */
|
||||
unsigned int playback_active:1; /* stream is in use */
|
||||
unsigned int playback_active; /* stream is in use */
|
||||
unsigned int symmetric_rates:1;
|
||||
unsigned int symmetric_channels:1;
|
||||
unsigned int symmetric_samplebits:1;
|
||||
|
|
Loading…
Add table
Reference in a new issue