arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

0006-HACK-drm-omap-panel-dsi-cm-force-0xff-for-brigthness.patch (999B)


      1 From 8087f305187140d20b7903ba7486f243a2d470d2 Mon Sep 17 00:00:00 2001
      2 From: =?UTF-8?q?Filip=20Matijevi=C4=87?= <filip.matijevic.pz@gmail.com>
      3 Date: Wed, 1 Nov 2017 18:25:45 +0100
      4 Subject: [PATCH 06/11] HACK: drm/omap: panel-dsi-cm: force 0xff for brigthness
      5 MIME-Version: 1.0
      6 Content-Type: text/plain; charset=UTF-8
      7 Content-Transfer-Encoding: 8bit
      8 
      9 Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com>
     10 ---
     11  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 2 ++
     12  1 file changed, 2 insertions(+)
     13 
     14 diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
     15 index 418cf5dd2d69..069fad8d89b2 100644
     16 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
     17 +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
     18 @@ -375,6 +375,8 @@ static int dsicm_bl_update_status(struct backlight_device *dev)
     19  	else
     20  		level = 0;
     21  
     22 +	level = 0xff;
     23 +
     24  	dev_dbg(&ddata->pdev->dev, "update brightness to %d\n", level);
     25  
     26  	mutex_lock(&ddata->lock);
     27 -- 
     28 2.14.1
     29