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:
d3a2cf7
)
drivers : add test patch for otg connection
author
lingsen1
<lingsen1@lenovo.com>
Thu, 4 Apr 2019 04:03:42 +0000
(12:03 +0800)
committer
xiest1
<xiest1@lenovo.com>
Tue, 5 Nov 2019 09:31:59 +0000
(17:31 +0800)
Change-Id: Iea4a6a4261bcc6c134b31f4d623dc592d34e39cc
drivers/ccic/s2mu106-usbpd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ccic/s2mu106-usbpd.c
b/drivers/ccic/s2mu106-usbpd.c
index e2a9ed38bba29f1f7698cb35e0bdef83b39bdbff..d79dad08eb99579dada27075fb6d810db802db76 100644
(file)
--- a/
drivers/ccic/s2mu106-usbpd.c
+++ b/
drivers/ccic/s2mu106-usbpd.c
@@
-120,7
+120,6
@@
static void s2mu106_usbpd_test_read(struct s2mu106_usbpd_data *usbpd_data)
data[5], data[6], data[7], data[8]);
}
-#if defined(CONFIG_DUAL_ROLE_USB_INTF)
void s2mu106_rprd_mode_change(struct s2mu106_usbpd_data *usbpd_data, u8 mode)
{
u8 data = 0;
@@
-176,7
+175,6
@@
void s2mu106_rprd_mode_change(struct s2mu106_usbpd_data *usbpd_data, u8 mode)
skip:
mutex_unlock(&usbpd_data->_mutex);
}
-#endif
void usbpd_charger_test_read(struct s2mu106_usbpd_data *usbpd_data)
{