forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/gpio/gpio-lp873x.c
....@@ -33,7 +33,7 @@
3333 unsigned int offset)
3434 {
3535 /* This device is output only */
36
- return 0;
36
+ return GPIO_LINE_DIRECTION_OUT;
3737 }
3838
3939 static int lp873x_gpio_direction_input(struct gpio_chip *chip,