commit | 7bfa0781406f9df6cb20ce5134faa19d34cb4e18 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Thu Mar 19 16:55:22 2015 +0100 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Thu Mar 19 17:30:38 2015 +0100 |
tree | 86d7802b2977754ceef44cfa0a04f81480c0ef7b | |
parent | 64d2f4e5f94a95b23532efcbc3c955b5086bd890 [diff] |
greybus: gpio: refuse to set value of input pins Add warning and refuse to set output value for pin configured as input, as the result of such an operation is undefined. Remove incorrect todo-comment suggesting that the driver could implicitly switch direction as part of the call. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>