diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-10 22:39:22 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-12 10:22:00 +0000 |
commit | 97597a39778eefb628eb7734a18f32c7880ad0e0 (patch) | |
tree | f57989f5f90c9b28035ec41bf5769176d0b95475 /drivers/video/via/hw.h | |
parent | f5b1c4b3b6d407ec5a9d93ca12738c4c7911000c (diff) | |
download | linux-97597a39778eefb628eb7734a18f32c7880ad0e0.tar.gz linux-97597a39778eefb628eb7734a18f32c7880ad0e0.tar.bz2 linux-97597a39778eefb628eb7734a18f32c7880ad0e0.zip |
viafb: always return the best possible clock
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>
Diffstat (limited to 'drivers/video/via/hw.h')
-rw-r--r-- | drivers/video/via/hw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/via/hw.h b/drivers/video/via/hw.h index 668d534542ef..7295263299f7 100644 --- a/drivers/video/via/hw.h +++ b/drivers/video/via/hw.h @@ -893,8 +893,6 @@ struct iga2_crtc_timing { /* VT3410 chipset*/ #define VX900_FUNCTION3 0x3410 -#define NUM_TOTAL_PLL_TABLE ARRAY_SIZE(pll_value) - struct IODATA { u8 Index; u8 Mask; |