projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86508d
)
[RAMEN9610-19595]ccic : fix ccic rp source when attach source
author
Junhan Bae
<junhan84.bae@samsung.com>
Wed, 29 May 2019 06:45:58 +0000
(15:45 +0900)
committer
Kim Gunho
<gunho.kim@samsung.com>
Mon, 9 Sep 2019 11:08:03 +0000
(20:08 +0900)
Change-Id: I4c9570f760add4f7b60e358b2662bcd7d6854489
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
drivers/ccic/s2mu106-usbpd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ccic/s2mu106-usbpd.c
b/drivers/ccic/s2mu106-usbpd.c
index 4cbd941d2809de5c215ef7079d17535ce58a5ca5..85ed4d642909eef35bb8cdc09a5961cea1a0c9a7 100644
(file)
--- a/
drivers/ccic/s2mu106-usbpd.c
+++ b/
drivers/ccic/s2mu106-usbpd.c
@@
-2372,6
+2372,7
@@
static int s2mu106_check_port_detect(struct s2mu106_usbpd_data *pdic_data)
s2mu106_usbpd_rp_current_check(pdic_data);
} else if ((data & S2MU106_PR_MASK) == S2MU106_PDIC_SOURCE) {
dev_info(dev, "SOURCE\n");
+ s2mu106_usbpd_set_rp_scr_sel(pdic_data, PLUG_CTRL_RP180);
ret = s2mu106_usbpd_check_accessory(pdic_data);
if (ret < 0) {
dev_info(&i2c->dev, "%s attach accessory\n", __func__);