Andrew Kephart e504b84805 fbdev: Fix fb_find_nearest_mode refresh comparison
Refresh rate nearness is not calculated or reset when nearest resolution
changes.

This patch resets the refresh rate differential measurement whenever a
new nearest resolution is discovered.  This fixes two error cases;
first, wherein the first mode's refresh rate differential is never
calculated and second, when the closest refresh rate from a previous
nearest resolution is erroneously preserved.

Signed-off-by: Andrew Kephart <andrew.kephart@alereon.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-12-14 18:03:49 +09:00
..
2010-10-15 15:53:27 +02:00
2010-11-15 22:40:38 +01:00
2010-10-27 18:03:08 -07:00
2010-11-24 16:03:22 +09:00
2009-04-01 08:59:32 -07:00
2010-08-09 11:25:17 +02:00
2010-08-09 11:25:17 +02:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-12-16 07:20:04 -08:00
2010-05-03 15:42:58 +02:00
2009-05-06 16:36:10 -07:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:09 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2010-11-15 09:25:01 +01:00
2008-04-28 08:58:41 -07:00
2009-01-06 15:59:27 -08:00
2010-03-12 15:52:34 -08:00
2009-01-06 15:59:27 -08:00
2010-10-09 17:07:23 +08:00
2010-05-25 08:07:09 -07:00
2010-05-27 09:12:42 -07:00
2010-05-25 08:07:09 -07:00
2010-02-09 11:13:56 +01:00
2010-06-16 18:05:05 +02:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2010-08-16 15:14:03 +02:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:08 -07:00