Hello Michal,

On 10.04.25 10:25, Michal Simek wrote:
From: Venkatesh Yadav Abbarapu <[email protected]>

Gpio status command reads the DATA_RO register rather than
DATA registers even when the direction is "output", fix this
by reading from DATA register when direction is "output".

Signed-off-by: Nam Ian <[email protected]>
Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
---

  drivers/gpio/zynq_gpio.c | 15 +++++++++++----
  1 file changed, 11 insertions(+), 4 deletions(-)

Reviewed-by: Heiko Schocher <[email protected]>

bye,
Heiko
--
--
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]

Reply via email to