Skip to content
Browse files

tweak lcd dfs parameter

  • Loading branch information...
1 parent 92428d0 commit 15f4b0a41921c7cf97e3be2f523093197efb161c @lvchaqiu committed Oct 17, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 drivers/video/samsung/s3cfb_main.c
View
5 drivers/video/samsung/s3cfb_main.c
@@ -199,10 +199,11 @@ static int lcd_dfs_notify(struct notifier_block *nb,
#endif
switch (action) {
case FB_EVENT_MODE_PAN:
+ s3cfb_frame_adjust(fbdev, FB_DYNAMIC_HIGH_FREQ);
+
if (delayed_work_pending(&fbdev->dfs_work))
cancel_delayed_work(&fbdev->dfs_work);
- schedule_delayed_work(&fbdev->dfs_work, HZ/2);
- s3cfb_frame_adjust(fbdev, FB_DYNAMIC_HIGH_FREQ);
+ schedule_delayed_work(&fbdev->dfs_work, msecs_to_jiffies(20));
break;
default:
break;

0 comments on commit 15f4b0a

Please sign in to comment.
Something went wrong with that request. Please try again.