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

Skip to content
Commit 3090f372 authored by Gopikrishnaiah Anandan's avatar Gopikrishnaiah Anandan Committed by Stephen Boyd
Browse files

ASoC: msm: 8226: Error handling for gpio failure



When driver queries for getting gpio number based
on the name, if gpio is not found on platform it
returns negative number.
Gpio number variable is unsigned int and driver will
treat error as a valid gpio pin.
This change modifies variable type to int.

Change-Id: Id889e6c0b04a06d5b517de392cd303cc6e1cd256
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
parent cb2b4d6a
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