aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-07-29 00:35:42 +0100
committerThomas White <taw@bitwiz.org.uk>2009-07-29 00:35:42 +0100
commitb4123b2bbf6c35c51af2ab00c1099c53b9bf08b6 (patch)
treea74f4d6dd53bd24571d2411214f81bd6a610505f /drivers/mfd/glamo
parentf3996cca5180bde8331d7d956bcf7e68d95b9c7b (diff)
Set minimum and maximum dimensions in mode config
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo')
-rw-r--r--drivers/mfd/glamo/glamo-display.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mfd/glamo/glamo-display.c b/drivers/mfd/glamo/glamo-display.c
index 93f056dce43..3fee800daa9 100644
--- a/drivers/mfd/glamo/glamo-display.c
+++ b/drivers/mfd/glamo/glamo-display.c
@@ -755,8 +755,10 @@ int glamo_display_init(struct drm_device *dev)
drm_mode_config_init(dev);
- dev->mode_config.min_width = 0;
- dev->mode_config.min_height = 0;
+ dev->mode_config.min_width = 240;
+ dev->mode_config.min_height = 320;
+ dev->mode_config.max_width = 480;
+ dev->mode_config.max_height = 640;
dev->mode_config.funcs = (void *)&glamo_mode_funcs;