forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
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,