Thread (5 messages) 5 messages, 2 authors, 2010-12-14

Re: [PATCH] fbdev: Fix fb_find_nearest_mode refresh comparison

From: Paul Mundt <hidden>
Date: 2010-12-14 09:05:08

On Mon, Dec 13, 2010 at 09:46:34AM -0600, Andrew Kephart wrote:
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 <redacted>
The patch itself is line-wrapped, so please check your mailer settings
for future patches. I've applied it by hand this time, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help