]> git.karo-electronics.de Git - linux-beck.git/commitdiff
udlfb: Improve debugging printouts with refresh rate
authorMartin Decky <martin@desky.cz>
Fri, 2 Mar 2012 00:31:11 +0000 (16:31 -0800)
committerBernie Thompson <bernie@plugable.com>
Fri, 2 Mar 2012 01:45:56 +0000 (17:45 -0800)
It is not very helpful to print a list of the same resolutions
without the refresh rate.

Signed-off-by: Bernie Thompson <bernie@plugable.com>
drivers/video/udlfb.c

index a40c05ebbdc2bf97758db087661ea336fc185c03..04aea205f02164caf80316f8f0e61308076cd1e2 100644 (file)
@@ -1012,7 +1012,8 @@ static int dlfb_is_valid_mode(struct fb_videomode *mode,
                return 0;
        }
 
-       pr_info("%dx%d valid mode\n", mode->xres, mode->yres);
+       pr_info("%dx%d @ %d Hz valid mode\n", mode->xres, mode->yres,
+               mode->refresh);
 
        return 1;
 }