diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2020-07-23 02:33:49 +0300 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-07-23 02:33:49 +0300 |
| commit | d1cc3341f2d95b742bb075e309251fc2ae62a799 (patch) | |
| tree | 3f18735cd1a957309bf983d04bd76a01f3011258 /drivers/video | |
| parent | afe5d56d4f6580fccf499c4b552696ca4fea1768 (diff) | |
| parent | 684f18e29d4d2aba9b8155b3c2c1113ee5650b23 (diff) | |
Merge tag 'LA.UM.8.4.r1-05700-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-17.1-caf-msm8998
* tag 'LA.UM.8.4.r1-05700-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
msm: adsprpc: Fix array index underflow problem
profiler: Fix compilation errors
fbdev: msm: fix ret value while translating to mdp format
clk: msm: Fix compilation errors with clang
ath10k: Fix compilation issue
drm/msm/sde: Fix clang compilation in SDE driver
ais: cam_soc_api: Fix compilation error
msm: camera: reset atomic variable
msm: v4l2loopback: Fix clang compilation error
msm: Fix compilation error
asoc: msm-8998: Add new FE's for TDM Primary
diag: dci: Synchronize dci mempool buffers alloc and free
headers_lib: rename Android.bp
kbuild: skip install/check of headers right under uapi directories
uapi: export all arch specifics directories
kernel_headers: Fix headers not detected in incremental builds
kernel headers: Update comparison logic
Kbuild : Use no-export-headers to avoid exporting headers
kernel_headers: kernel headers library package
kbuild: replace genhdr-y with generated-y
uapi: export all headers under uapi directories
uapi: sound: move necessary sound headers under uapi
kernel: Fix build errors with LLVM
Revert "ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996."
ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996.
input: touchpanel: Fix compilation errors with clang
asoc: msm-8998: TDM device grouping changes for capture path
kbuild, x86: Track generated headers with generated-y
kbuild: Remove stale asm-generic wrappers
ARM: put types.h in uapi
msm: ais: jpegdma: Fix uninitialized variable
Makefile.headersinst: remove destination-y option
msm: adsprpc: DSP device node to provide restricted access to ADSP/SLPI
Conflicts:
.gitignore
drivers/mmc/core/sdio_cis.c
Change-Id: I70cf2a0fbcfcbc834a21cf7fa8db9bd2e1c755b1
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/fbdev/msm/dsi_status_6g.c | 2 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_fb.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/fbdev/msm/dsi_status_6g.c b/drivers/video/fbdev/msm/dsi_status_6g.c index d86110251925..8a962efcf2f0 100644 --- a/drivers/video/fbdev/msm/dsi_status_6g.c +++ b/drivers/video/fbdev/msm/dsi_status_6g.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2017, 2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and diff --git a/drivers/video/fbdev/msm/mdss_fb.c b/drivers/video/fbdev/msm/mdss_fb.c index ce359b5c109b..72ca10f600a7 100644 --- a/drivers/video/fbdev/msm/mdss_fb.c +++ b/drivers/video/fbdev/msm/mdss_fb.c @@ -3994,7 +3994,7 @@ static int mdss_fb_set_par(struct fb_info *info) { struct msm_fb_data_type *mfd = (struct msm_fb_data_type *)info->par; struct fb_var_screeninfo *var = &info->var; - int old_imgType, old_format; + int old_imgType, old_format, out_format; int ret = 0; ret = mdss_fb_pan_idle(mfd); @@ -4078,9 +4078,9 @@ static int mdss_fb_set_par(struct fb_info *info) mfd->fbi->var.yres) * mfd->fb_page; old_format = mfd->panel_info->out_format; - mfd->panel_info->out_format = - mdss_grayscale_to_mdp_format(var->grayscale); - if (!IS_ERR_VALUE(mfd->panel_info->out_format)) { + out_format = mdss_grayscale_to_mdp_format(var->grayscale); + if (!IS_ERR_VALUE(out_format)) { + mfd->panel_info->out_format = out_format; if (old_format != mfd->panel_info->out_format) mfd->panel_reconfig = true; } |
