extcon: axp288: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 21 Dec 2016 06:51:26 +0000 (15:51 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:11 +0000 (10:04 +0900)
commit5298b8365832e13158e41e205a31a9505eef4c94
tree6250931e7e423296fa7dbd4826bc16c4f67242df
parentdb6228612ce297949621a62e9d2331ee55016778
extcon: axp288: Set EXTCON_USB when EXTCON_CHG_USB_SDP was set

According to the documentation, we should set the EXTCON_USB when
one SDP charger connector was reported.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c