Skip to content

Commit

Permalink
video: sun5i-hdmi: check hdmi every 2sec, decrease cpu usage (ksoftir…
Browse files Browse the repository at this point in the history
…qd/0)

close torvalds#43

merge 791c38f intended for sun4i-hdmi
  • Loading branch information
Quarx2k authored and amery committed Sep 5, 2012
1 parent 638b831 commit 76d987a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions drivers/video/sun5i/hdmi/drv_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,21 +236,8 @@ 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);
}
hdmi_delay_ms(2000);
}

return 0;
Expand Down

0 comments on commit 76d987a

Please sign in to comment.