commit | fc76b698736efa9d52e06aa09c03dc8ef10fd581 | [log] [tgz] |
---|---|---|
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | Mon May 23 09:54:56 2016 +0200 |
committer | Simon Glass <sjg@chromium.org> | Sun Jun 19 17:05:55 2016 -0600 |
tree | dc9ae4cd8f235d0218ddd834bbd85bf611250872 | |
parent | 5aeedebc33849efbbee2d422a4c7da8194e1b670 [diff] |
gpio: pca953x: Fix register reading past 8th GPIO A bug in the pca953x driver prevents correct reading of GPIO input values beyond the 8th GPIO; all values are reported as zero. Setting of GPIO output values is not affected. This patch fixes the reading behavior. Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Peng Fan <van.freenix@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>