Ejemplo n.º 1
0
static int get_factory_cable(void)
{
	int pif_detect = 0;

	pif_detect = lge_get_pif_info();
	
	lgeusb_info("Using PIF ZIG (%d)\n", pif_detect);

	if (pif_detect == LGE_PIF_CABLE)
		return LGE_FACTORY_CABLE_TYPE;
	else
		return 0;
}
Ejemplo n.º 2
0
static int get_factory_cable(void)
{
	int pif_detect = 0;

#ifdef CONFIG_LGE_DETECT_PIF_PATCH
	pif_detect = lge_get_pif_info();
#endif
	lgeusb_info("Using PIF ZIG (%d)\n", pif_detect);

	if (pif_detect == LGE_PIF_CABLE)
		return LGE_FACTORY_CABLE_TYPE;
	else
		return 0;
}
Ejemplo n.º 3
0
static int get_factory_cable(void)
{

	return 0;

/* Temporary comment out */
/* FIXME: This depends on machine type(e.g Qualcomm or nVidia) */
#if 0
	int pif_detect = 0;

#ifdef CONFIG_LGE_DETECT_PIF_PATCH
	pif_detect = lge_get_pif_info();
#endif
	lgeusb_info("Using PIF ZIG (%d)\n", pif_detect);

	if (pif_detect == LGE_PIF_CABLE)
		return LGE_FACTORY_CABLE_TYPE;
	else
		return 0;
#endif
}