ASoC: wcd9310: Add check to prevent the wrap around of channel active value
If the value of channel active variable is zero, don't decrease it.
Change-Id: Ic9cf9faacc10c37b30f2e3d91700015669061c24
Signed-off-by:
Helen Zeng <xiaoyunz@codeaurora.org>
Loading
Please register or sign in to comment