]> git.karo-electronics.de Git - mv-sheeva.git/commit
viafb: avoid refresh and mode lookup in set_par
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 26 Feb 2012 10:51:51 +0000 (10:51 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 8 Mar 2012 18:41:38 +0000 (18:41 +0000)
commit838ac785d521e091bd8b5f6a2b545166f5f32b77
tree7f8c2f5482cfe17f90a10988d0e819ba64314d92
parent9864ca20c50c2fcaba63767a336e16c88b46d7ad
viafb: avoid refresh and mode lookup in set_par

As check_var already ensures that the mode is valid there is no need
to do those expensive lookups here again. The only thing that might
change is that the deprecated interface could report slightly
different refresh rates due to rounding errors.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/viafbdev.c