Mathias Nyman
80b0a60292
gpiolib: add gpio get direction callback support
...
Add .get_direction callback to gpio_chip. This allows gpiolib
to check the current direction of a gpio.
Used to show the correct gpio direction in sysfs and debug entries.
If callback is not set then gpiolib will work as previously;
e.g. guessing everything is input until a direction is set.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-10-26 09:18:55 +02:00
..
2012-10-14 13:39:34 -07:00
2012-03-28 18:30:03 +01:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2012-03-28 18:30:03 +01:00
2012-10-04 18:20:15 +01:00
2012-06-25 10:32:49 -07:00
2011-05-25 08:39:37 -07:00
2011-11-01 07:34:21 -07:00
2012-10-03 21:33:53 +02:00
2012-04-02 14:41:27 -07:00
2012-01-06 08:44:54 -08:00
2011-07-22 18:45:33 +02:00
2012-07-30 12:25:46 +02:00
2012-07-06 12:02:04 +02:00
2012-07-30 12:25:46 +02:00
2012-03-28 18:30:03 +01:00
2012-02-24 10:39:27 -08:00
2012-10-26 09:18:55 +02:00
2012-10-04 18:20:15 +01:00
2012-10-04 18:20:15 +01:00
2012-02-21 16:47:28 -08:00
2012-02-21 16:47:28 -08:00
2012-01-10 18:04:27 -08:00
2012-10-04 18:20:15 +01:00
2012-02-27 09:43:30 -06:00
2012-10-04 18:20:15 +01:00
2012-10-02 18:01:56 +01:00
2012-07-24 15:27:30 +08:00
2012-10-04 18:20:15 +01:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-17 13:00:20 -07:00
2012-09-28 14:31:03 +09:30
2012-08-13 18:46:54 +02:00
2012-01-10 17:39:40 -08:00
2012-10-04 18:20:15 +01:00
2012-02-27 09:43:30 -06:00
2012-04-30 15:21:02 -06:00
2012-02-23 20:19:04 -07:00
2012-10-09 16:22:53 +09:00
2011-05-26 17:12:36 -07:00
2012-10-04 18:20:15 +01:00
2011-11-01 07:34:20 -07:00
2012-10-04 18:20:15 +01:00
2012-10-04 18:20:15 +01:00
2012-06-28 17:14:34 +01:00
2012-10-04 18:20:15 +01:00
2012-03-28 18:30:03 +01:00
2012-04-14 11:13:19 +10:00
2012-10-04 18:20:15 +01:00
2012-06-27 19:29:11 -07:00
2012-03-04 17:54:34 -05:00
2011-10-06 19:47:12 -04:00
2012-10-04 18:20:15 +01:00
2012-10-11 11:02:37 +02:00
2012-05-26 11:33:40 -07:00
2012-10-03 21:21:06 +02:00