commit | 8159f28b9f375d13b869f1e1a92bbcd0ac002b69 | [log] [tgz] |
---|---|---|
author | Francois Berder <Francois.Berder@imgtec.com> | Thu Jun 30 18:26:33 2016 +0100 |
committer | Francois Berder <Francois.Berder@imgtec.com> | Mon Jul 04 11:15:12 2016 +0100 |
tree | 015ff5efe021011a1b0df70b867697a5cfae80cb | |
parent | 17618c71bb4e4255b44a53dffaf3ed18c2a1e18a [diff] |
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>