commit | ab8ce19911fd4da591948756f05ab1e728cf9fb2 | [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 | f4d193b9a3da4939b94fa712c1f0a4d4522dbc1f [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>