extcon: max77693: Check the state/type of cable after boot completed
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 26 Dec 2012 04:10:11 +0000 (13:10 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 15 Jan 2013 06:42:15 +0000 (15:42 +0900)
commit297620fd1e14edf5fefa1736f873b9228336eee1
tree2aaed8a7ce207853299a16cce680196e3e03e043
parent39bf369e4ed321158eb8dc5031b4a9f2108ea614
extcon: max77693: Check the state/type of cable after boot completed

This patch check the state/type of cable after completing the initialization
of platform and notify platform of cable state/type through extcon. If extcon
provider driver notify the state/type of cable before completing platform boot,
this uevent is unused and ignored.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-max77693.c
include/linux/mfd/max77693.h