android_kernel_xiaomi_sm8350/drivers/gpio
Arnaud Patard 842078054d gpio/pca953x bugfix: mark as can_sleep
The pca953x driver is an I2C driver so gpio_chip->can_sleep should be set.
This lets upper layers know they should use the gpio_*_cansleep() calls to
access values, and may not access them from nonsleeping contexts.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: "eric miao" <eric.y.miao@gmail.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-10 18:01:19 -07:00
..
gpiolib.c
Kconfig gpio: rename pca953x symbols 2008-02-06 10:41:15 -08:00
Makefile gpio: rename pca953x symbols 2008-02-06 10:41:15 -08:00
mcp23s08.c mcp23s08 spi gpio expander support 2008-02-05 09:44:13 -08:00
pca953x.c gpio/pca953x bugfix: mark as can_sleep 2008-03-10 18:01:19 -07:00
pcf857x.c gpiolib: pcf857x i2c gpio expander support 2008-02-05 09:44:13 -08:00