static void spica_ftm_enable_usb_sw(int mode) { pr_info("%s: mode(%d)\n", __func__, mode); if (mode) { fsa9480_SetAutoSWMode(); } else { fsa9480_MakeRxdLow(); mdelay(10); fsa9480_MakeRxdLow(); } }
static void _ftm_enable_usb_sw(int mode) { #define FTM_TIMEOUT 4 // sec pr_info("%s: mode(%d)\n", __func__, mode); if (mode) { fsa9480_SetAutoSWMode(); } else { fsa9480_MakeRxdLow(); mdelay(10); fsa9480_MakeRxdLow(); #ifdef CONFIG_ARCH_OMAP34XX wakeup_timer_seconds = FTM_TIMEOUT; #endif } }