forked from ~ljy/RK356X_SDK_RELEASE

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