static bool fc8050_power_on(void) { DPRINTK("fc8050_power_on\n"); if (fc8050_pwr_on) { return true; } else { tdmb_control_gpio(true); if (dmb_drv_init() == TDMB_FAIL) { tdmb_control_gpio(false); return false; } else { tdmb_control_irq(true); fc8050_pwr_on = true; return true; } } }
static bool fc8080_power_on(void) { DPRINTK("%s\n", __func__); if (fc8080_pwr_on) { return true; } else { tdmb_control_gpio(true); if (dmb_drv_init(tdmb_get_if_handle()) == TDMB_FAIL) { tdmb_control_gpio(false); return false; } else { #if !defined(CONFIG_TDMB_TSIF_SLSI) && !defined(CONFIG_TDMB_TSIF_QC) tdmb_control_irq(true); #endif fc8080_pwr_on = true; return true; } } }