ASoC: msm: qdsp6v2: Fix impossible check
We assign the long type here to bool, so it can only be true or
false, not negative. Replace the impossible check with the
correct one, which makes sure that only 0 or a positive integer
is used as an argument here. This also removes a warning on newer
compilers.
Change-Id: If31c160a241b7389038288bfee3986a060fcc959
CRs-Fixed: 1099676
Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org>
Loading
Please register or sign in to comment