diff options
Diffstat (limited to 'include/linux/gpio')
| -rw-r--r-- | include/linux/gpio/driver.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 1827b43966d9..573e4f3243d0 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
| @@ -51,7 +51,10 @@ struct seq_file; | |||
| 51 | * format specifier for an unsigned int. It is substituted by the actual | 51 | * format specifier for an unsigned int. It is substituted by the actual |
| 52 | * number of the gpio. | 52 | * number of the gpio. |
| 53 | * @can_sleep: flag must be set iff get()/set() methods sleep, as they | 53 | * @can_sleep: flag must be set iff get()/set() methods sleep, as they |
| 54 | * must while accessing GPIO expander chips over I2C or SPI | 54 | * must while accessing GPIO expander chips over I2C or SPI. This |
| 55 | * implies that if the chip supports IRQs, these IRQs need to be threaded | ||
| 56 | * as the chip access may sleep when e.g. reading out the IRQ status | ||
| 57 | * registers. | ||
| 55 | * @exported: flags if the gpiochip is exported for use from sysfs. Private. | 58 | * @exported: flags if the gpiochip is exported for use from sysfs. Private. |
| 56 | * | 59 | * |
| 57 | * A gpio_chip can help platforms abstract various sources of GPIOs so | 60 | * A gpio_chip can help platforms abstract various sources of GPIOs so |
