[PATCH] Better PLL frequency matching for tdfxfb driver
authorRichard Drummond <evilrich@rcdrummond.net>
Sun, 1 May 2005 15:59:24 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:24 +0000 (08:59 -0700)
commit0fbe9cafff72799700713e6a9d5a4ec7191e8d19
treebd0c48641b7281926346465ab7c8f7fae05bbeaf
parent7c2f891cb64b0b9c8d389da97c221ee4288f1307
[PATCH] Better PLL frequency matching for tdfxfb driver

Improve the PLL frequency matching in the tdfxfb driver.  Instead of
requiring 64260 iterations to obtain the closest supported PLL frequency,
this code does it with the same degree of accuracy in at most 768
iterations.

Signed-off-by: Richard Drummond <evilrich@rcdrummond.net>
Cc: <linux-fbdev-devel@lists.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/tdfxfb.c