This workaround was introduced on artik, where gadget need to be enabled
before usb connection can be properly monitored. As this does little
harm, it's moved here to prevent regression on artik.
The side effect of this is starting some functionfs daemons long before
they are actually needed, so this should be removed when exton issue is
fixed.
Change-Id: Ia41c21e3c44d7d3a00d557f181e8c22766c6f31b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
goto out;
}
+ /* Workaround for enabling extcon notification */
+ ret = usbg_enable_gadget(cfs_client->gadget, cfs_client->udc);
+ if (ret)
+ goto out;
+
ret = cfs_cleanup_left_configs(cfs_client, i);
/* TODO