From: Jean-Francois Dagenais Date: Mon, 10 Feb 2014 17:05:28 +0000 (-0500) Subject: gpio: adp5588: get value from data out when dir is out X-Git-Tag: v3.15-rc1~105^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992196f28c3c0a589a3d461aab83b7af2eb7b3cf;p=pandora-kernel.git 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 Acked-by: Michael Hennerich Signed-off-by: Linus Walleij --- Reading git-diff-tree failed