OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agomsm: ais: sensor: Fix the state check for i2c ops
Suprith Malligere Shankaregowda [Thu, 8 Mar 2018 09:40:20 +0000 (15:10 +0530)]
msm: ais: sensor: Fix the state check for i2c ops

Added state condition before performing i2c operations

Change-Id: Ie1cc0c4b0e5427928654638ca22d83380525cce1
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoMerge "diag: Protect the decrement of number of diag clients"
Linux Build Service Account [Tue, 20 Mar 2018 15:36:15 +0000 (08:36 -0700)]
Merge "diag: Protect the decrement of number of diag clients"

6 years agoMerge "ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics"
Linux Build Service Account [Tue, 20 Mar 2018 15:36:13 +0000 (08:36 -0700)]
Merge "ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics"

6 years agoMerge "ASoC: msm: Fix adding channel mixer control failure issue"
Linux Build Service Account [Tue, 20 Mar 2018 15:36:12 +0000 (08:36 -0700)]
Merge "ASoC: msm: Fix adding channel mixer control failure issue"

6 years agoMerge "ion: ensure valid start address"
Linux Build Service Account [Tue, 20 Mar 2018 01:03:30 +0000 (18:03 -0700)]
Merge "ion: ensure valid start address"

6 years agoMerge "ARM: dts: msm: Update GPU chipid for SDM636"
Linux Build Service Account [Tue, 20 Mar 2018 01:03:28 +0000 (18:03 -0700)]
Merge "ARM: dts: msm: Update GPU chipid for SDM636"

6 years agoMerge "defconfig: msm-auto: Add qti can driver support"
Linux Build Service Account [Tue, 20 Mar 2018 01:03:24 +0000 (18:03 -0700)]
Merge "defconfig: msm-auto: Add qti can driver support"

6 years agoMerge "ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996"
Linux Build Service Account [Tue, 20 Mar 2018 01:03:23 +0000 (18:03 -0700)]
Merge "ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996"

6 years agoMerge "msm: ais: isp: Handling buffer use after getting it freed"
Linux Build Service Account [Tue, 20 Mar 2018 01:03:21 +0000 (18:03 -0700)]
Merge "msm: ais: isp: Handling buffer use after getting it freed"

6 years agodiag: Protect the decrement of number of diag clients
Sreelakshmi Gownipalli [Tue, 23 Jan 2018 21:11:41 +0000 (13:11 -0800)]
diag: Protect the decrement of number of diag clients

In diagchar_open() protect the decrement of number of diag clients
so that there will be no race conditions while reading the value
from other functions.

Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
6 years agoion: ensure valid start address
Pratap Nirujogi [Sun, 18 Mar 2018 12:16:33 +0000 (17:46 +0530)]
ion: ensure valid start address

Ensure valid start address to check for vaddress
bounds.

Change-Id: I02c0ce85d9a495880c133e66553b09159daa8f0c
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
6 years agoMerge "scsi: ufs: Fix compilation error in ufs cmd logging"
Linux Build Service Account [Mon, 19 Mar 2018 10:35:44 +0000 (03:35 -0700)]
Merge "scsi: ufs: Fix compilation error in ufs cmd logging"

6 years agoMerge "msm: camera: isp: Fix freeze of preview stream during CDS"
Linux Build Service Account [Mon, 19 Mar 2018 10:35:42 +0000 (03:35 -0700)]
Merge "msm: camera: isp: Fix freeze of preview stream during CDS"

6 years agoMerge "drm/msm/sde: store mdss irq status in case of irq storm"
Linux Build Service Account [Mon, 19 Mar 2018 10:35:38 +0000 (03:35 -0700)]
Merge "drm/msm/sde: store mdss irq status in case of irq storm"

6 years agoMerge "drm/msm/sde: take irq callback lock before reading cb list"
Linux Build Service Account [Mon, 19 Mar 2018 10:35:36 +0000 (03:35 -0700)]
Merge "drm/msm/sde: take irq callback lock before reading cb list"

6 years agoMerge "drm: smmu: fix smmu map failure"
Linux Build Service Account [Mon, 19 Mar 2018 10:35:35 +0000 (03:35 -0700)]
Merge "drm: smmu: fix smmu map failure"

6 years agoARM: dts: msm: Update GPU chipid for SDM636
Hareesh Gundu [Tue, 6 Mar 2018 11:52:42 +0000 (17:22 +0530)]
ARM: dts: msm: Update GPU chipid for SDM636

The SDM636 GPU is similar to SDM660 but different
because of GPU clock plan. Update SDM636 GPU ID to
A509 so that we can handle it.

Change-Id: I8ed4403a5a11b5cb92827716d8f1e9655403c8bf
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
6 years agoARM: dts: msm: set ION type to SYSTEM for msm8996 telematics
Yimin Peng [Tue, 6 Mar 2018 07:16:03 +0000 (15:16 +0800)]
ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics

Switch ION type from CARVEOUT to SYSTEM for audio function.

Change-Id: Ida2ccb7d1dbe1a037f305fe749ca3bc0a8dd51b2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
6 years agomsm: camera: isp: Fix freeze of preview stream during CDS
Srikanth Uyyala [Fri, 16 Mar 2018 07:29:01 +0000 (12:59 +0530)]
msm: camera: isp: Fix freeze of preview stream during CDS

Remove check of axi_cfg_update to allow stream update.

Change-Id: I4010e27a8dd136eecc2880d5eb13d97e4d0ea46e
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
6 years agoMerge "msm: mdss: serialize wait for pingpong with kickoff"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:28 +0000 (03:13 -0700)]
Merge "msm: mdss: serialize wait for pingpong with kickoff"

6 years agoMerge "adv7481: Fix CVBS input resolution."
Linux Build Service Account [Sat, 17 Mar 2018 10:13:27 +0000 (03:13 -0700)]
Merge "adv7481: Fix CVBS input resolution."

6 years agoMerge "ASoC: sdm660: fix clock refcount for MI2S shutdown"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:25 +0000 (03:13 -0700)]
Merge "ASoC: sdm660: fix clock refcount for MI2S shutdown"

6 years agoMerge "drivers: qcom: lpm-stats: Fix undefined access error"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:24 +0000 (03:13 -0700)]
Merge "drivers: qcom: lpm-stats: Fix undefined access error"

6 years agoMerge "soc: qcom: hab: add some pchans for BufferQ and FDE"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:22 +0000 (03:13 -0700)]
Merge "soc: qcom: hab: add some pchans for BufferQ and FDE"

6 years agoMerge "ARM: dts: msm: change early camera on msm8996 agave"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:21 +0000 (03:13 -0700)]
Merge "ARM: dts: msm: change early camera on msm8996 agave"

6 years agoMerge "msm: kgsl: Add support for A509 GPU"
Linux Build Service Account [Sat, 17 Mar 2018 10:13:19 +0000 (03:13 -0700)]
Merge "msm: kgsl: Add support for A509 GPU"

6 years agodrm/msm/sde: store mdss irq status in case of irq storm
Lloyd Atkinson [Mon, 21 Aug 2017 14:15:38 +0000 (10:15 -0400)]
drm/msm/sde: store mdss irq status in case of irq storm

Store the last MDSS IRQ status value to help identify the source
of any erroneous IRQs that might cause an IRQ storm. Also, check
return codes on IRQ mapping or handling and report any unhandled
IRQs to the IRQ system.

Change-Id: I585c97c01736216556eb389bda79548c1fda2b64
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
6 years agodrm/msm/sde: take irq callback lock before reading cb list
Lloyd Atkinson [Mon, 18 Sep 2017 20:51:24 +0000 (16:51 -0400)]
drm/msm/sde: take irq callback lock before reading cb list

Take the callback spinlock before checking whether the callback
table list is empty. This resolves a race condition where the
callback list could be empty during the servicing of an
interrupt.

Change-Id: I8d59c0211526173ce98c8ca2dac36ec4743dc8f8
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agodrm/msm: limit sde_dbg_dump output to current entries
Lakshmi Narayana Kalavala [Mon, 26 Feb 2018 23:06:22 +0000 (15:06 -0800)]
drm/msm: limit sde_dbg_dump output to current entries

Update the sde_dbg_dump function to only dump event log
entries up to the time the dump is initiated, and increase
the number of recorded event log entries.

This places a limit on the total number of entries that are
output to the dmesg log even if more entries would have been
added while the dump is executing (e.g., interrupt events),
while still allowing the extra events to be recorded properly.

Change-Id: I66f850d21a2d0217f9049facffce074831b7e17d
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agodrm/msm: add input sanitization on debug dump debugfs
Lakshmi Narayana Kalavala [Thu, 22 Feb 2018 19:42:48 +0000 (11:42 -0800)]
drm/msm: add input sanitization on debug dump debugfs

Add checks to debugfs input parameters in sde debug dump debugfs
entries.

Change-Id: Iea170b75c1eb9aa46366662d36e677cb3251830b
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agodrm/msm/sde: add debugfs nodes for underruns debug
Lakshmi Narayana Kalavala [Wed, 21 Feb 2018 01:55:26 +0000 (17:55 -0800)]
drm/msm/sde: add debugfs nodes for underruns debug

This change adds debugfs nodes for debugging underruns,
after this change following commands are supported:
1. To enable the underrun ftrace:
echo 1 > /d/tracing/events/sde/sde_encoder_underrun/enable
2. To enable feature that disables the ftraces once the
underrun happens:
echo 1 > /d/dri/0/debug/dbg_ctrl
3. To enable the panic in the device when underrun happens:
echo 2 > /d/dri/0/debug/dbg_ctrl
4. To enable both of the above options:
echo 3 > /d/dri/0/debug/dbg_ctrl

Change-Id: Id9f407edb0908a5f8454f08d63c356dc8f04d353
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agoMerge "ais: sync clk status and tasklet"
Linux Build Service Account [Fri, 16 Mar 2018 22:34:20 +0000 (15:34 -0700)]
Merge "ais: sync clk status and tasklet"

6 years agodefconfig: msm-auto: Add qti can driver support
Balachandra C S [Fri, 16 Mar 2018 13:34:38 +0000 (19:04 +0530)]
defconfig: msm-auto: Add qti can driver support

Enable qti can driver support in msm-auto_defconfg and
msm-auto-perf_defconfig.

Change-Id: I9a88bb345c9ebf3dac49cfef9e46ff7f736d979c
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agoModify k61 driver to remove support for mpc5746c CAN card
Balachandra C S [Tue, 6 Mar 2018 14:08:26 +0000 (19:38 +0530)]
Modify k61 driver to remove support for mpc5746c CAN card

mpc5746c CAN driver will be supported by the unified driver qti-can
also remove rh850 support from qti-can driver.

Change-Id: I6743604c1298b9705ac3550b96c9dae04d5137bd
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agoASoC: sdm660: fix clock refcount for MI2S shutdown
Soumya Managoli [Wed, 7 Mar 2018 11:28:18 +0000 (16:58 +0530)]
ASoC: sdm660: fix clock refcount for MI2S shutdown

For MI2S shutdown, if clock disable fails,
do not increment clock reference. Otherwise,
next time when startup is called, clock enable will not
be called again, so use case will not work.

CRs-Fixed: 2200021
Change-Id: Ic1b6f238e55a58ca1993049468cf13f13d80b9f4
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
6 years agoARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996
Balachandra C S [Fri, 16 Mar 2018 09:59:37 +0000 (15:29 +0530)]
ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996

Add CAN device for MSM8996 auto variant using QTI CAN driver.

Change-Id: I76db18009bec22e2fa2216511b42dee99d1173ee
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agodrivers: net: can: Unified driver for CAN controller
Balachandra C S [Tue, 6 Mar 2018 13:28:28 +0000 (18:58 +0530)]
drivers: net: can: Unified driver for CAN controller

Create a single CAN driver for all the supported CAN
controllers.

Change-Id: I3770aae1adf4ccafd5132f6b57ddc050a93c7c0f
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agoMerge "diag: Proper update of logging mode"
Linux Build Service Account [Fri, 16 Mar 2018 08:56:04 +0000 (01:56 -0700)]
Merge "diag: Proper update of logging mode"

6 years agoMerge "msm: mdss: Signal outstanding fences when panel is dead"
Linux Build Service Account [Fri, 16 Mar 2018 08:56:02 +0000 (01:56 -0700)]
Merge "msm: mdss: Signal outstanding fences when panel is dead"

6 years agoMerge "msm: mdss: release retire fence during commit failure"
Linux Build Service Account [Fri, 16 Mar 2018 08:56:00 +0000 (01:56 -0700)]
Merge "msm: mdss: release retire fence during commit failure"

6 years agoMerge "scsi: ufs: Avoid uninitialized use of offset"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:59 +0000 (01:55 -0700)]
Merge "scsi: ufs: Avoid uninitialized use of offset"

6 years agoMerge "ath10k: append the wmi_op_version to testmode get_version cmd"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:57 +0000 (01:55 -0700)]
Merge "ath10k: append the wmi_op_version to testmode get_version cmd"

6 years agoMerge "Revert "defconfig: msm: Modify tv tuner config in MSM8996""
Linux Build Service Account [Fri, 16 Mar 2018 08:55:55 +0000 (01:55 -0700)]
Merge "Revert "defconfig: msm: Modify tv tuner config in MSM8996""

6 years agoMerge "drm/msm/sde: add validation checks for source split"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:53 +0000 (01:55 -0700)]
Merge "drm/msm/sde: add validation checks for source split"

6 years agoMerge "drm/msm: move display and event threads to realtime priority"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:49 +0000 (01:55 -0700)]
Merge "drm/msm: move display and event threads to realtime priority"

6 years agoMerge "regulator: kryo: fix return value for regulator_disable"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:37 +0000 (01:55 -0700)]
Merge "regulator: kryo: fix return value for regulator_disable"

6 years agoMerge "clk: qcom: osm: Update maximum number of bytes to read from buffer"
Linux Build Service Account [Fri, 16 Mar 2018 08:55:35 +0000 (01:55 -0700)]
Merge "clk: qcom: osm: Update maximum number of bytes to read from buffer"

6 years agodrivers: qcom: lpm-stats: Fix undefined access error
Mahesh Sivasubramanian [Wed, 7 Mar 2018 23:00:07 +0000 (16:00 -0700)]
drivers: qcom: lpm-stats: Fix undefined access error

In cleanup_stats(), a freed memory pointer pos might be accessed for
list traversal. Switch to using _safe() variant of the list API to
prevent undefined accesses.

Change-Id: I7d068cb7813ccb9bfdbcab4646b4ec890145828a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
6 years agoadv7481: Fix CVBS input resolution.
Suprith Malligere Shankaregowda [Thu, 15 Mar 2018 12:18:01 +0000 (17:48 +0530)]
adv7481: Fix CVBS input resolution.

Modify CVBS resolution to 720x507 so that
cvbs frames displayed correctly.

Change-Id: I036aaa4606ff00aab107834fc3e39a5a096c3d87
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agosoc: qcom: hab: add some pchans for BufferQ and FDE
Yong Ding [Thu, 8 Mar 2018 06:22:12 +0000 (14:22 +0800)]
soc: qcom: hab: add some pchans for BufferQ and FDE

This is adding pchans based on the legacy header files.

Change-Id: I0abf6b7617f4e1e057891c1312a20538bc65d2ea
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agoMerge "drm/msm: init enum properties to default value"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:39 +0000 (05:43 -0700)]
Merge "drm/msm: init enum properties to default value"

6 years agoMerge "drm/msm/sde: propagate the cdm block length from the catalog"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:38 +0000 (05:43 -0700)]
Merge "drm/msm/sde: propagate the cdm block length from the catalog"

6 years agoMerge "drm/msm/sde: add ubwc equivalent tile formats"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:25 +0000 (05:43 -0700)]
Merge "drm/msm/sde: add ubwc equivalent tile formats"

6 years agoMerge "drm: msm: dsi: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:24 +0000 (05:43 -0700)]
Merge "drm: msm: dsi: fix potential NULL pointer dereference"

6 years agoMerge "Merge android-4.4.120 (d63fdf6) into msm-4.4"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:22 +0000 (05:43 -0700)]
Merge "Merge android-4.4.120 (d63fdf6) into msm-4.4"

6 years agoMerge "drm/msm : add null check on framebuffer in cleanup"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:20 +0000 (05:43 -0700)]
Merge "drm/msm : add null check on framebuffer in cleanup"

6 years agoMerge "msm: kgsl: Fix XO shutdown issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:18 +0000 (05:43 -0700)]
Merge "msm: kgsl: Fix XO shutdown issue"

6 years agoMerge "msm: isp: Clear irq status if irq is set again with same value"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:17 +0000 (05:43 -0700)]
Merge "msm: isp: Clear irq status if irq is set again with same value"

6 years agoMerge "msm: isp: Add pingpong status to tasklet command"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:15 +0000 (05:43 -0700)]
Merge "msm: isp: Add pingpong status to tasklet command"

6 years agoMerge "ARM: dts: msm: Configure I2C instances for bus recovery"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:14 +0000 (05:43 -0700)]
Merge "ARM: dts: msm: Configure I2C instances for bus recovery"

6 years agoMerge "msm: mdss: dp: do not include VICs from YC420 VDB"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:12 +0000 (05:43 -0700)]
Merge "msm: mdss: dp: do not include VICs from YC420 VDB"

6 years agoMerge " msm: mdss: hdcp_1x: enable HDP irq only for DP client"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:11 +0000 (05:43 -0700)]
Merge " msm: mdss: hdcp_1x: enable HDP irq only for DP client"

6 years agoMerge "msm: mdss: dp: fix wrong parsing of sink count"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:09 +0000 (05:43 -0700)]
Merge "msm: mdss: dp: fix wrong parsing of sink count"

6 years agoMerge "msm: mdss: hdmi: fix HDCP1.4 authentication issues"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:07 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: fix HDCP1.4 authentication issues"

6 years agoMerge "msm: mdss: hdmi: add SRM support for HDCP1.4"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:05 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: add SRM support for HDCP1.4"

6 years agoMerge "msm: mdss: Clear pp dirty flags based on program stage"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:03 +0000 (05:43 -0700)]
Merge "msm: mdss: Clear pp dirty flags based on program stage"

6 years agoMerge "msm: mdss: hdmi: modify audio event notification sequence."
Linux Build Service Account [Thu, 15 Mar 2018 12:43:02 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: modify audio event notification sequence."

6 years agoMerge "msm: mdss: hdmi: reset basic_audio_support parameter"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:00 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: reset basic_audio_support parameter"

6 years agoMerge "input: touchscreen: Fix error code in Atmel driver"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:57 +0000 (05:42 -0700)]
Merge "input: touchscreen: Fix error code in Atmel driver"

6 years agoMerge "input: touchscreen: Fix uninitialized variable usage in Atmel driver"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:55 +0000 (05:42 -0700)]
Merge "input: touchscreen: Fix uninitialized variable usage in Atmel driver"

6 years agoMerge "msm: sde: fix compiler uninitialized warning"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:53 +0000 (05:42 -0700)]
Merge "msm: sde: fix compiler uninitialized warning"

6 years agoMerge "drm: msm: dsi: fix local variable not initialized issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:52 +0000 (05:42 -0700)]
Merge "drm: msm: dsi: fix local variable not initialized issue"

6 years agoMerge "drm/msm/sde: fix flush configuration for physical encoder"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:50 +0000 (05:42 -0700)]
Merge "drm/msm/sde: fix flush configuration for physical encoder"

6 years agoMerge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:48 +0000 (05:42 -0700)]
Merge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage"

6 years agoMerge "input: touchscreen: synaptics_dsx: Handle failure case during probe"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:47 +0000 (05:42 -0700)]
Merge "input: touchscreen: synaptics_dsx: Handle failure case during probe"

6 years agoMerge "defconfig: msm: Disable secure qsee support for msm8996 auto"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:45 +0000 (05:42 -0700)]
Merge "defconfig: msm: Disable secure qsee support for msm8996 auto"

6 years agoMerge "drm: msm: sde: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:43 +0000 (05:42 -0700)]
Merge "drm: msm: sde: fix potential NULL pointer dereference"

6 years agoMerge "fb: msm_dba: fix local variable not initialized issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:42 +0000 (05:42 -0700)]
Merge "fb: msm_dba: fix local variable not initialized issue"

6 years agoMerge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:40 +0000 (05:42 -0700)]
Merge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels"

6 years agomsm: mdss: Signal outstanding fences when panel is dead
Krishna Chaitanya Devarakonda [Thu, 16 Nov 2017 13:44:12 +0000 (19:14 +0530)]
msm: mdss: Signal outstanding fences when panel is dead

When the panel is in dead state, we early return from
the commit. So, the fences wouldn't be signalled till
the next Blank call. Handling this case by signalling
the outstanding fences when panel is in dead state.

Change-Id: I48a5e04707e32de0d1cdccf0592c981e30b618fc
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
6 years agomsm: mdss: release retire fence during commit failure
Sachin Bhayare [Wed, 8 Nov 2017 10:15:05 +0000 (15:45 +0530)]
msm: mdss: release retire fence during commit failure

In existing implementation on commit failure release fence are signaled.
But retire fence is not signaled. Which block the framework from
submitting next commit. And result in UI freez.

Add logic to signal retire fence along with release fence commit fails.

Change-Id: I84774280a110339450a1c5ef50eab68168e9bd20
Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
6 years agomsm: mdss: serialize wait for pingpong with kickoff
Sandeep Panda [Wed, 7 Sep 2016 09:53:30 +0000 (15:23 +0530)]
msm: mdss: serialize wait for pingpong with kickoff

Serialize wait for pingpong with kickoff when autorefresh
feature is enabled.

Change-Id: Ia51889dd86561e7513b4e7123a9fefb77a26d1ea
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
6 years agoRevert "defconfig: msm: Modify tv tuner config in MSM8996"
Suprith Malligere Shankaregowda [Mon, 12 Mar 2018 06:00:39 +0000 (11:30 +0530)]
Revert "defconfig: msm: Modify tv tuner config in MSM8996"

This reverts commit 9fd1b000d569ee72f776a839092f10672ccd6898.
Revert this now since dependent changes are merged.
The change makes tv tuner driver as a loadable kernel module.

Change-Id: I28e3faf91cacaa40e62b0a30402e35ce28688275
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agomsm: kgsl: Fix XO shutdown issue
Suprith Malligere Shankaregowda [Tue, 6 Mar 2018 06:21:23 +0000 (11:51 +0530)]
msm: kgsl: Fix XO shutdown issue

This patch ensures device resumes successfully after
XO shutdown without any KGSL error.

Change-Id: I9eb8e281bc62793dc7521ba72aaeecf946860851
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoregulator: kryo: fix return value for regulator_disable
Tirupathi Reddy [Wed, 14 Mar 2018 11:55:23 +0000 (17:25 +0530)]
regulator: kryo: fix return value for regulator_disable

Remove uninitialized variable and return value 0 from
regulator_disable().

Change-Id: I920819fbce14d1c6d5f7afac577002aa25b66a05
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
6 years agoARM: dts: msm: change early camera on msm8996 agave
Chunhuan Zhan [Tue, 6 Mar 2018 13:10:15 +0000 (21:10 +0800)]
ARM: dts: msm: change early camera on msm8996 agave

make this change to avoid the clk warning logs
1. remove the repeated clks
2. change the sequence of clks , make the parent clks before children clks
3. add clock-control for early-camera

Change-Id: I1746cbdce3a7335187433ae993637d2db9cdf58e
Signed-off-by: Chunhuan Zhan <zhanc@codeaurora.org>
6 years agoscsi: ufs: Avoid uninitialized use of offset
Sayali Lokhande [Wed, 14 Mar 2018 09:50:10 +0000 (15:20 +0530)]
scsi: ufs: Avoid uninitialized use of offset

In function ufs_qcom_testbus_config, offset variable is
declared but not initialized. Switch case can take the
default case and use the uninitialized offset variable.
This change fixes the uninitialized use of offset.

Change-Id: I772296ef5606bc519dfcd00bfa6995b2d8646b9c
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
6 years agoais: sync clk status and tasklet
Andy Sun [Mon, 12 Mar 2018 09:47:44 +0000 (17:47 +0800)]
ais: sync clk status and tasklet

1. add set_clk_status user interface;
2. exit delayed tasklet without processing if clk disabled;
3. protect process_halt_irq();

Change-Id: I66c933ac9b9e2dacd4dec20b646ef297cd18920d
Signed-off-by: Andy Sun <bins@codeaurora.org>
6 years agomsm: isp: Clear irq status if irq is set again with same value
Srikanth Uyyala [Wed, 14 Mar 2018 05:12:10 +0000 (10:42 +0530)]
msm: isp: Clear irq status if irq is set again with same value

Sometimes same irq is received even after clearing irq.
make sure irq status is rest by clearing the irq again.

Change-Id: Ib5355a4b9952fa7f02d1dea69b5fb767928e4b9f
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
6 years agomsm: ais: isp: Handling buffer use after getting it freed
Suprith Malligere Shankaregowda [Mon, 12 Mar 2018 06:52:29 +0000 (12:22 +0530)]
msm: ais: isp: Handling buffer use after getting it freed

In the code, start_fetch can try to access the buffer
pointer variable after free, as the same pointer can
can be freed at RELEASE_BUF call too at the same time.
Hence fixing this race condition.

Change-Id: I8dccddcc1965d4baaece6f83755eb122a18bc12b
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoASoC: msm: Fix adding channel mixer control failure issue
Cong Tang [Tue, 13 Mar 2018 09:39:54 +0000 (17:39 +0800)]
ASoC: msm: Fix adding channel mixer control failure issue

Add channel mixer control according to device direction defined
in dai_link.

Change-Id: I93db385f95334f168427a734459a8707df61ba7c
Signed-off-by: Cong Tang <congt@codeaurora.org>
6 years agomsm: isp: Add pingpong status to tasklet command
Srikanth Uyyala [Mon, 12 Mar 2018 13:14:40 +0000 (18:44 +0530)]
msm: isp: Add pingpong status to tasklet command

We read pingpong status while handling axi and stats irqs
in tasklet. Due to scheduling delays in tasklet pingpong status is
changing by the time we read. So, read ping pong status in ISR
and forward it to tasklet.

Change-Id: Ib83929cb8e15c28e34ee06275a87b5d6fbfd00e6
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
6 years agomsm: mdss: hdmi: fix HDCP1.4 authentication issues
Narender Ankam [Tue, 14 Nov 2017 13:10:15 +0000 (18:40 +0530)]
msm: mdss: hdmi: fix HDCP1.4 authentication issues

After part I authentication, SW DDC is not disabled and because of
this, we observe arbitration issues during part III authentication.
Disable SW DDC before starting part III of HDCP authentication.

Fail part II of authentication with repeater if its device count is zero.

Change-Id: I72f5b1115c094d4a72ae2b324f3903cdb195e5fe
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: add SRM support for HDCP1.4
Narender Ankam [Tue, 14 Nov 2017 12:51:49 +0000 (18:21 +0530)]
msm: mdss: hdmi: add SRM support for HDCP1.4

Extend HDCP1.4 SRM support for fb based hdmi driver as well.

Change-Id: I3d6597503d95b066d1fcfa71218cdda70965fbd0
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: add SRM support for HDCP2.2
Narender Ankam [Wed, 8 Nov 2017 10:49:12 +0000 (16:19 +0530)]
msm: mdss: hdmi: add SRM support for HDCP2.2

Extend HDCP2.2 SRM support for fb based hdmi driver as well.

Change-Id: I39bef2a814c2a2404a0a03584f23c58c69c10909
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: dp: do not include VICs from YC420 VDB
Narender Ankam [Thu, 16 Nov 2017 13:38:03 +0000 (19:08 +0530)]
msm: mdss: dp: do not include VICs from YC420 VDB

Display Port driver never supported YC420 formats.
Also w.r.t to display quality, 4K30 RGB 8bit is
better than 4K60 YC420 8bit.
So, do not include edid modes(VICs) from YC420 Video
Data Block while parsing EDID.

Change-Id: I77f2c45c22beceb7f554a4c063f6e6947dc4ba8a
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: Clear pp dirty flags based on program stage
Ch Ganesh Kumar [Mon, 4 Sep 2017 15:25:07 +0000 (20:55 +0530)]
msm: mdss: Clear pp dirty flags based on program stage

Clear PP features dirty flags only when they are programmed, based on
programming stage, i.e. clear dirty flags of features programmed in
early stage after early stage programming and clear dirty flags of
features programmed in deferred stage after their actual programming
is complete.

Clearing the flags in one go is resulting in missing programming of
features designated to be programmed in early stage, if the dirty flags
are updated in between the stages.

Change-Id: If65a5982254a7421c6f0ec32018361c651964e4e
Signed-off-by: Ch Ganesh Kumar <chganesh@codeaurora.org>
6 years agomsm: mdss: hdmi: modify audio event notification sequence.
Narender Ankam [Tue, 24 Oct 2017 09:29:15 +0000 (14:59 +0530)]
msm: mdss: hdmi: modify audio event notification sequence.

Audio event is wrongly notified during pre_panel_off event.
Modify HDMI Audio event notification sequence so that audio
events are notified as expected.

CRs-Fixed: 2131442
Change-Id: I5fb5d28cb0162f0c4bf97e29556b15d12e1ea8f1
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: reset basic_audio_support parameter
Narender Ankam [Wed, 25 Oct 2017 06:54:00 +0000 (12:24 +0530)]
msm: mdss: hdmi: reset basic_audio_support parameter

Add changes to reset basic_audio_support parameter
before parsing EDID on every new cable connection.

Change-Id: I52fef059830d950d4858d5bee3f76774426e6863
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: dp: fix wrong parsing of sink count
Narender Ankam [Wed, 4 Oct 2017 12:57:19 +0000 (18:27 +0530)]
msm: mdss: dp: fix wrong parsing of sink count

Current Display Port driver is incorrectly parsing sink count
register (0x200) of DPCD. Made changes to parse it correctly
as per DP specification.

Change-Id: Ic858485f19f226f7b2d84f74c97170db8bebf822
Signed-off-by: Narender Ankam <nankam@codeaurora.org>