Skip to content

Commit

Permalink
video: sun4i-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
  • Loading branch information
Quarx2k authored and amery committed Jun 24, 2012
1 parent c080635 commit 791c38f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions drivers/video/sun4i/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 791c38f

Please sign in to comment.