Commit b108eccb authored by Edmond Chung's avatar Edmond Chung Committed by Xin Li
Browse files

ANDROID: gpiolib: Do not free in pinctrl if pin ranges are not defined



There is a similar check for request, but not in free. This has caused
an imbalace count of request vs. free calls to the pinctrl driver. This
patch is targeted to fix that issue.

Bug: 170496520

Signed-off-by: default avatarEdmond Chung <edmondchung@google.com>
Signed-off-by: default avatarAndrew Chant <achant@google.com>
Change-Id: Icc9dad21e8036c5cb98627f005e92290335c83fc
parent 65649f97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment