From: lingsen1 Date: Thu, 4 Apr 2019 04:03:42 +0000 (+0800) Subject: drivers : add test patch for otg connection X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9bdb929d3ca3648ae78f4242750810016779e0ff;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drivers : add test patch for otg connection Change-Id: Iea4a6a4261bcc6c134b31f4d623dc592d34e39cc --- diff --git a/drivers/ccic/s2mu106-usbpd.c b/drivers/ccic/s2mu106-usbpd.c index e2a9ed38bba2..d79dad08eb99 100644 --- 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) {