int Hdmi_run_thread(void *parg) { while (1) { Hdmi_hal_main_task(); hdmi_delay_ms(2000); } return 0; }
int Hdmi_run_thread(void *parg) { while (1) { if(kthread_should_stop()) { __inf("Hdmi_run_thread, hdmi suspend\n"); break; } if(!b_hdmi_suspend) { Hdmi_hal_main_task(); } if(ghdmi.bopen) { hdmi_delay_ms(200); } else { hdmi_delay_ms(200); } } return 0; }
int Hdmi_run_thread(void *parg) { while (1) { //if(ghdmi.bopen == 0) //{ // down(run_sem); //} Hdmi_hal_main_task(); if(ghdmi.bopen) { hdmi_delay_ms(200); } else { hdmi_delay_ms(200); } } return 0; }