Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1c9a56c5 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent fd8f40e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment