Skip to content
Commit 03842c17 authored by Francois Berder's avatar Francois Berder Committed by Greg Kroah-Hartman
Browse files

sc16is7xx: always write state when configuring GPIO as an output



The regmap_update first reads the IOState register and then triggers
a write if needed. However, GPIOS might be configured as an input so
 the read to IOState on this GPIO is the current state which might
be random.

Signed-off-by: default avatarFrancois Berder <Francois.Berder@imgtec.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c03e1b87
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