forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/gpio/gpio-tpic2810.c
....@@ -39,7 +39,7 @@
3939 unsigned offset)
4040 {
4141 /* This device always output */
42
- return 0;
42
+ return GPIO_LINE_DIRECTION_OUT;
4343 }
4444
4545 static int tpic2810_direction_input(struct gpio_chip *chip,