diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-09-20 20:53:09 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-09-27 02:50:40 +0200 |
commit | 0572de149b2084f058c514a2e3350f461ba00b4c (patch) | |
tree | 5b63be86c41040e1e93da7c0daa874a767a5133d | |
parent | 77681ea86425507de7ab3a420b55badc6a489ba2 (diff) | |
download | kernel_i9300_mainline-0572de149b2084f058c514a2e3350f461ba00b4c.zip kernel_i9300_mainline-0572de149b2084f058c514a2e3350f461ba00b4c.tar.gz kernel_i9300_mainline-0572de149b2084f058c514a2e3350f461ba00b4c.tar.bz2 |
extcon: max77693: set initial path to USB
If the initial path is set to UART, an already connected usb cable is not
recognized.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index f17cb76..bf5d42c 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -1219,8 +1219,8 @@ static int max77693_muic_probe(struct platform_device *pdev) delay_jiffies = msecs_to_jiffies(DELAY_MS_DEFAULT); } - /* Set initial path for UART */ - max77693_muic_set_path(info, info->path_uart, true); + /* Set initial path for USB */ + max77693_muic_set_path(info, info->path_usb, true); /* Check revision number of MUIC device*/ ret = regmap_read(info->max77693->regmap_muic, |