int sec_set_host(bool enable)
{
	if (enable) {
		pr_info("USB OTG START : ID clear\n");
		sec_otg_set_id_state(0);
	} else {
		pr_info("USB OTG STOP : ID set\n");
		sec_otg_set_id_state(1);
	}
	return 0;
}
Example #2
0
int sec_handle_event(int enable)
{
	sec_otg_set_id_state(!enable);
	return 0;
}