summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/mdfld_dsi_output.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-08-16 14:18:48 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-16 07:22:16 -0700
commitc3585aa91a25264234c8bd27a4a6823d4e544c2a (patch)
tree040d33f810bea0e60cc4e9d7fcbdab877e4ddd3e /drivers/staging/gma500/mdfld_dsi_output.c
parentb5ddbf465f3675b19c8f5528b4064cbf278a5c6f (diff)
downloadop-kernel-dev-c3585aa91a25264234c8bd27a4a6823d4e544c2a.zip
op-kernel-dev-c3585aa91a25264234c8bd27a4a6823d4e544c2a.tar.gz
gma500: kill MIPI interface types
Kirill Shutemov found problems with the non-upstream IMG driver where the use of extra DRM encoder/connector types caused random crashes when the DRM layer tried to display their matching name. This removes the MIPI types matching the changes Pauli Nieminen made to the non upstream driver set. As Pauli points out: " MIPI (or DSI) is protocol specification on top of LVDS serial bus. That makes it resonable to call MIPI connectors and encoders LVDS." (and indeed they may also be HDMI convertors or similar when we want to report a more useful to end user result) Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/staging/gma500/mdfld_dsi_output.c')
-rw-r--r--drivers/staging/gma500/mdfld_dsi_output.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/gma500/mdfld_dsi_output.c b/drivers/staging/gma500/mdfld_dsi_output.c
index 7536095..9050c0f 100644
--- a/drivers/staging/gma500/mdfld_dsi_output.c
+++ b/drivers/staging/gma500/mdfld_dsi_output.c
@@ -955,7 +955,9 @@ void mdfld_dsi_output_init(struct drm_device *dev,
psb_output->type = (pipe == 0) ? INTEL_OUTPUT_MIPI : INTEL_OUTPUT_MIPI2;
connector = &psb_output->base;
- drm_connector_init(dev, connector, &mdfld_dsi_connector_funcs, DRM_MODE_CONNECTOR_MIPI);
+ /* Revisit type if MIPI/HDMI bridges ever appear on Medfield */
+ drm_connector_init(dev, connector, &mdfld_dsi_connector_funcs,
+ DRM_MODE_CONNECTOR_LVDS);
drm_connector_helper_add(connector, &mdfld_dsi_connector_helper_funcs);
connector->display_info.subpixel_order = SubPixelHorizontalRGB;
OpenPOWER on IntegriCloud