diff options
author | Andrew Kephart <andrew.kephart@alereon.com> | 2010-12-13 16:46:34 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-14 10:03:49 +0100 |
commit | e504b84805c574cf18d705c610c9e4a8f6e61017 (patch) | |
tree | 94b9f060a2dcde8efb171b5ab5c514cfb0c445f0 /ipc/ipcns_notifier.c | |
parent | Merge branches 'x86-fixes-for-linus', 'perf-fixes-for-linus' and 'sched-fixes... (diff) | |
download | linux-e504b84805c574cf18d705c610c9e4a8f6e61017.tar.xz linux-e504b84805c574cf18d705c610c9e4a8f6e61017.zip |
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>
Diffstat (limited to 'ipc/ipcns_notifier.c')
0 files changed, 0 insertions, 0 deletions