forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
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,