When system on the suspend state, Some SoC can't get gpio interrupt. After system resume, need send extcon uevent to userspace.
Showing the changes to include/linux/extcon (1 of 2 files). Show all
Unified · Split
| @@ -51,6 +51,7 @@ struct gpio_extcon_platform_data { · 50 unmodified lines | ||
| 51 | 51 | /* if NULL, "0" or "1" will be printed */ |
| 52 | 52 | const char *state_on; |
| 53 | 53 | const char *state_off; |
| 54 | + bool check_on_resume; | |
| 54 | 55 | }; |
| 55 | 56 | |
| 56 | 57 | #endif /* __EXTCON_GPIO_H__ */ |