forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
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,