summaryrefslogtreecommitdiff
path: root/include/linux/extcon
diff options
context:
space:
mode:
authorRongjun Ying <rongjun.ying@csr.com>2014-01-09 04:50:13 +0400
committerChanwoo Choi <cw00.choi@samsung.com>2014-01-09 04:53:30 +0400
commit6544dfa5795060b01042fd62fd1a92e18c2fc485 (patch)
treea5f3f3b261e820aeb7ee703e80ca2a68805f3947 /include/linux/extcon
parent962e56bfcf0b055d00fc52948a327dead904caa3 (diff)
downloadlinux-6544dfa5795060b01042fd62fd1a92e18c2fc485.tar.xz
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>
Diffstat (limited to 'include/linux/extcon')
-rw-r--r--include/linux/extcon/extcon-gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/extcon/extcon-gpio.h b/include/linux/extcon/extcon-gpio.h
index 4195810f87fe..8900fdf511c6 100644
--- a/include/linux/extcon/extcon-gpio.h
+++ b/include/linux/extcon/extcon-gpio.h
@@ -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__ */