Skip to content
Commit 21a35427 authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett
Browse files

platform-drivers-x86: intel_pmic_gpio: Fix off-by-one valid offset range check



Only pin 0-7 support input, so the valid offset range should be 0 ~ 7.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 963649d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment