aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorClemens Ladisch <[email protected]>2009-11-04 09:42:52 +0100
committerDave Airlie <[email protected]>2009-11-24 13:04:49 +1000
commit5349ef3127c77075ff70b2014f17ae0fbcaaf199 (patch)
tree98d5c2234304833ba716c791aa7d5732a8d827cc /drivers/mtd/lpddr/lpddr_cmds.c
parent79cc304f3e2fda202242036326afb2aeca486156 (diff)
drm/fb: fix FBIOGET/PUT_VSCREENINFO pixel clock handling
When the framebuffer driver does not publish detailed timing information for the current video mode, the correct value for the pixclock field is zero, not -1. Since pixclock is actually unsigned, the value -1 would be interpreted as 4294967295 picoseconds (i.e., about 4 milliseconds) by register_framebuffer() and userspace programs. This patch allows X.org's fbdev driver to work. Signed-off-by: Clemens Ladisch <[email protected]> Tested-by: Paulius Zaleckas <[email protected]> Cc: [email protected] Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions