viafb: always return the best possible clock
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 10 Mar 2011 22:39:22 +0000 (22:39 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 12 Mar 2011 10:22:00 +0000 (10:22 +0000)
Before this patch only clocks that perfectly match were used and if
none existed this was not handled properly. This patch changes this
to always use the closest clock supported. This should behave like
before for clocks that have a perfect match but be much saner for
clocks which are slightly off.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>

No differences found