Thread (26 messages) 26 messages, 4 authors, 2018-01-09

[PATCH 1/3] [v2] Revert "gpio: set up initial state from .get_direction()"

From: Stephen Boyd <hidden>
Date: 2017-12-13 22:37:00
Also in: linux-arm-msm, linux-gpio

On 12/13, Timur Tabi wrote:
This reverts commit 72d3200061776264941be1b5a9bb8e926b3b30a5.

We cannot blindly query the direction of all GPIOs when the pins are
first registered.  The get_direction callback normally triggers a
read/write to hardware, but we shouldn't be touching the hardware for
an individual GPIO until after it's been properly claimed.

Signed-off-by: Timur Tabi <redacted>
---
Reviewed-by: Stephen Boyd <redacted>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help