diff options
author | Francois Berder <Francois.Berder@imgtec.com> | 2016-10-25 15:24:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-27 17:42:31 +0300 |
commit | 03842c17397e14cb8bb1adc2015f5dce6c733ffe (patch) | |
tree | da2b5574afe85eac58b3d82ed73fac98b8ead2da /drivers/tty/vt | |
parent | c03e1b8703a4a0c8bac7f6b65d8fcb539ec62d82 (diff) | |
download | linux-03842c17397e14cb8bb1adc2015f5dce6c733ffe.tar.xz |
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: Francois Berder <Francois.Berder@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
0 files changed, 0 insertions, 0 deletions