extcon: gpio: Add power resume support
When system on the suspend state, Some SoC can't get gpio interrupt. After system resume, need send extcon uevent to userspace. Signed-off-by: Rongjun Ying <rongjun.ying@csr.com> Reviewed-by: Barry Song <Baohua.Song@csr.com> Acked-by: Myungjoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
This commit is contained in:
parent
962e56bfcf
commit
6544dfa579
2 changed files with 22 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ struct gpio_extcon_platform_data {
|
|||
/* if NULL, "0" or "1" will be printed */
|
||||
const char *state_on;
|
||||
const char *state_off;
|
||||
bool check_on_resume;
|
||||
};
|
||||
|
||||
#endif /* __EXTCON_GPIO_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue