Commit 1c3d94f4 authored by Michael Bohan's avatar Michael Bohan
Browse files

gpio: qpnp-pin: Fix constraint checking for mode



GPIOs has only three modes where as MPP has seven. Change the
constraint check to check for the appropriate value based on the
pin type.

Change-Id: I53c85b4a5e852ef3b9d5dbe939a496053fa26197
Signed-off-by: default avatarMichael Bohan <mbohan@codeaurora.org>
parent 91c5a044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment