diff options
author | Jean-Francois Dagenais <jeff.dagenais@gmail.com> | 2014-02-10 21:05:28 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-13 16:49:16 +0400 |
commit | 992196f28c3c0a589a3d461aab83b7af2eb7b3cf (patch) | |
tree | 920902a2e78aea7ee0240fb7019d544ea17afe02 /include/linux/i2c/adp5588.h | |
parent | 390d82e312c56b75407a3606cbcde8c4bc7f10ae (diff) | |
download | linux-992196f28c3c0a589a3d461aab83b7af2eb7b3cf.tar.xz |
gpio: adp5588: get value from data out when dir is out
As discussed here: http://ez.analog.com/message/35852,
the 5587 revC and 5588 revB spec sheets contain a mistake
in the GPIO_DAT_STATx register description.
According to R.Shnell at ADI, as well as my own
observations, it should read:
"GPIO data status (shows GPIO state when read for inputs)".
This commit changes the get value function accordingly.
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/i2c/adp5588.h')
0 files changed, 0 insertions, 0 deletions