| commit | 8759ef32d992fc6c0bcbe40fca7aa302190918a5 | [log] [tgz] |
|---|---|---|
| author | Oskar Schirmer <os@emlix.com> | Thu Jun 11 14:51:15 2009 +0100 |
| committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 11 08:51:08 2009 -0700 |
| tree | 316df64d3456597bf7f8ef7508654c82faf6a5fe | |
| parent | 9f322ad064f9210e7d472dfe77e702274d5c9dba [diff] |
lib: isolate rational fractions helper function Provide a helper function to determine optimum numerator denominator value pairs taking into account restricted register size. Useful especially with PLL and other clock configurations. Signed-off-by: Oskar Schirmer <os@emlix.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>