]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mxcfb: add BACKLIGHT_RAW type for kernel upgrade
authorWayne Zou <b36644@freescale.com>
Fri, 16 Dec 2011 02:20:48 +0000 (10:20 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:36 +0000 (08:33 +0200)
Signed-off-by: Wayne Zou <b36644@freescale.com>
drivers/video/mxc/mxcfb_hx8369_wvga.c

index 2d89aa0b1a5b2312963ba55c50892894e1bcbe40..d8771fd3c1a3620b826127a42389c263a9dd3198 100644 (file)
@@ -374,6 +374,7 @@ static int mipid_init_backlight(struct mipi_dsi_info *mipi_dsi)
        }
        memset(&props, 0, sizeof(struct backlight_properties));
        props.max_brightness = HX8369BL_MAX_BRIGHT;
+       props.type = BACKLIGHT_RAW;
        bl = backlight_device_register("mipid-bl", &mipi_dsi->pdev->dev,
                mipi_dsi, &mipid_lcd_bl_ops, &props);
        if (IS_ERR(bl)) {