OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agomsm: mdss: make panel status check and dfps update exclusive
Sandeep Panda [Thu, 13 Apr 2017 12:30:54 +0000 (18:00 +0530)]
msm: mdss: make panel status check and dfps update exclusive

Since on some platforms DSI_CMD_OFFSET register has become
double buffered, so dynamic fps update and DSI DMA command
transfer can not happen at the same time. This changes makes
panel status check which in turn does a DSI DMA transfer, and
dfps update mutually exclusive.

Change-Id: If8591c55d31669dbf3f565db041c04bcd6cb616a
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
7 years agoMerge "power: qpnp-smb2: Specify the min/max charger switching frequency"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:42 +0000 (15:19 -0700)]
Merge "power: qpnp-smb2: Specify the min/max charger switching frequency"

7 years agoMerge "soc: qcom: remove debugfs interface from ssr, service locator & notifier"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:41 +0000 (15:19 -0700)]
Merge "soc: qcom: remove debugfs interface from ssr, service locator & notifier"

7 years agoMerge "defconfig: msm: Enable HWBinder for SDM660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:40 +0000 (15:19 -0700)]
Merge "defconfig: msm: Enable HWBinder for SDM660"

7 years agoMerge "ARM: dts: msm: Add usb master clock rate in high speed mode for sdm660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:39 +0000 (15:19 -0700)]
Merge "ARM: dts: msm: Add usb master clock rate in high speed mode for sdm660"

7 years agoMerge "input: misc: hbtp_input: Support for Region of Interest/sensors"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:38 +0000 (15:19 -0700)]
Merge "input: misc: hbtp_input: Support for Region of Interest/sensors"

7 years agoMerge "ARM: dts: msm: Disable U1U2 low power modes for SDM660"
Linux Build Service Account [Fri, 14 Apr 2017 22:19:36 +0000 (15:19 -0700)]
Merge "ARM: dts: msm: Disable U1U2 low power modes for SDM660"

7 years agoMerge "ASoC: wcd9335: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:10 +0000 (07:30 -0700)]
Merge "ASoC: wcd9335: Initialize variables before use"

7 years agoMerge "ASoC: wcd_cpe_core: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:09 +0000 (07:30 -0700)]
Merge "ASoC: wcd_cpe_core: Initialize variables before use"

7 years agoMerge "ASoC: msm: qdsp6v2: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:07 +0000 (07:30 -0700)]
Merge "ASoC: msm: qdsp6v2: Initialize variables before use"

7 years agoMerge "ASoC: wcd-spi: Initialize variables before use"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:06 +0000 (07:30 -0700)]
Merge "ASoC: wcd-spi: Initialize variables before use"

7 years agoMerge "Revert "ASoC: msm: decrement slim channel ref to set the property""
Linux Build Service Account [Fri, 14 Apr 2017 14:30:04 +0000 (07:30 -0700)]
Merge "Revert "ASoC: msm: decrement slim channel ref to set the property""

7 years agoMerge "ASoC: wcd934x: use analog mics in micbias mode for MAD"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:03 +0000 (07:30 -0700)]
Merge "ASoC: wcd934x: use analog mics in micbias mode for MAD"

7 years agoMerge "drivers: mfd: wcd934x: Set CDC_TOP_TOP_CFG1 register as non-volatile"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:02 +0000 (07:30 -0700)]
Merge "drivers: mfd: wcd934x: Set CDC_TOP_TOP_CFG1 register as non-volatile"

7 years agoMerge "ASoC: msm: Update proper clock frequency for slave mode"
Linux Build Service Account [Fri, 14 Apr 2017 14:30:01 +0000 (07:30 -0700)]
Merge "ASoC: msm: Update proper clock frequency for slave mode"

7 years agoMerge "ASoC: msm: Update proper clock frequency for slave mode"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:59 +0000 (07:29 -0700)]
Merge "ASoC: msm: Update proper clock frequency for slave mode"

7 years agoMerge "diag: Update the read buffers status properly"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:58 +0000 (07:29 -0700)]
Merge "diag: Update the read buffers status properly"

7 years agoMerge "msm: ADSPRPC: Use SMD on targets that doesn't support GLINK"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:58 +0000 (07:29 -0700)]
Merge "msm: ADSPRPC: Use SMD on targets that doesn't support GLINK"

7 years agoMerge "usb: gadget: ccid: Fix data types of header structures"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:57 +0000 (07:29 -0700)]
Merge "usb: gadget: ccid: Fix data types of header structures"

7 years agoMerge "defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:56 +0000 (07:29 -0700)]
Merge "defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG"

7 years agoMerge "msm: isp: Fix dead lock in ISR"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:55 +0000 (07:29 -0700)]
Merge "msm: isp: Fix dead lock in ISR"

7 years agoMerge "drivers: cpuidle: lpm-levels: Log hotplug events"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:54 +0000 (07:29 -0700)]
Merge "drivers: cpuidle: lpm-levels: Log hotplug events"

7 years agoMerge "msm: camera: Bypass redundant creation of video node in stereo"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:03 +0000 (07:29 -0700)]
Merge "msm: camera: Bypass redundant creation of video node in stereo"

7 years agoMerge "msm: camera: ispif: adds 3D support"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:02 +0000 (07:29 -0700)]
Merge "msm: camera: ispif: adds 3D support"

7 years agoMerge "ARM: dts: msm: Fix interrupt-map property for msm8996"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:01 +0000 (07:29 -0700)]
Merge "ARM: dts: msm: Fix interrupt-map property for msm8996"

7 years agoMerge "msm: mdss: add mdss smmu fault handler for sdm660"
Linux Build Service Account [Fri, 14 Apr 2017 14:29:00 +0000 (07:29 -0700)]
Merge "msm: mdss: add mdss smmu fault handler for sdm660"

7 years agoMerge "msm: mdss: dp: skip transfer unit setup on link training requests"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:59 +0000 (07:28 -0700)]
Merge "msm: mdss: dp: skip transfer unit setup on link training requests"

7 years agoMerge "ARM: dts: msm: refine JDI a407 panel setting"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:57 +0000 (07:28 -0700)]
Merge "ARM: dts: msm: refine JDI a407 panel setting"

7 years agoMerge "ARM: dts: msm: modify panel initial commands for SDM630 PM660A QRD"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:56 +0000 (07:28 -0700)]
Merge "ARM: dts: msm: modify panel initial commands for SDM630 PM660A QRD"

7 years agoMerge "msm: mdss: update the recovery sequence for DSI LP_RX_TIMEOUT/BTA_TIMEOUT"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:55 +0000 (07:28 -0700)]
Merge "msm: mdss: update the recovery sequence for DSI LP_RX_TIMEOUT/BTA_TIMEOUT"

7 years agoMerge "msm: sde: map/unmap timestamp buffer for every rotator session"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:54 +0000 (07:28 -0700)]
Merge "msm: sde: map/unmap timestamp buffer for every rotator session"

7 years agoMerge "msm: kgsl: Fix the race between context create and destroy"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:53 +0000 (07:28 -0700)]
Merge "msm: kgsl: Fix the race between context create and destroy"

7 years agoMerge "msm: kgsl: Fix kgsl memory allocation and free race condition"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:51 +0000 (07:28 -0700)]
Merge "msm: kgsl: Fix kgsl memory allocation and free race condition"

7 years agoMerge "msm: camera: Check for csid_irq status bit in case of time out"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:15 +0000 (07:28 -0700)]
Merge "msm: camera: Check for csid_irq status bit in case of time out"

7 years agoMerge "soc: qcom: rpm: Use GENMASK APIs to generate bit masks"
Linux Build Service Account [Fri, 14 Apr 2017 14:28:14 +0000 (07:28 -0700)]
Merge "soc: qcom: rpm: Use GENMASK APIs to generate bit masks"

7 years agopower: qpnp-smb2: Specify the min/max charger switching frequency
Anirudh Ghayal [Mon, 10 Apr 2017 02:57:11 +0000 (08:27 +0530)]
power: qpnp-smb2: Specify the min/max charger switching frequency

Add a device tree property to override the minimum and maximum
charger buck/boost switching frequency.

Change-Id: I6b827157c23a389edf2daa412e6825b6ce07a886
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agopower: smb-lib: Fix sink/source insertion/removal function ordering
Anirudh Ghayal [Tue, 4 Apr 2017 11:34:20 +0000 (17:04 +0530)]
power: smb-lib: Fix sink/source insertion/removal function ordering

On PM660 the charger buck/boost frequency is configured in
the same register. Present ordering of the sink/source
removal function call causes incorrect charger frequency
configuration.

Fix this by first calling sink_removal and then source_insertion
function. Also, configure the buck frequency to the initial
5V USB value during source insertion.

Change-Id: I0d436f7e0843f2ddaa3d09db05cec403d03b6893
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agomsm: ADSPRPC: Use SMD on targets that doesn't support GLINK
Tharun Kumar Merugu [Fri, 7 Apr 2017 05:00:53 +0000 (10:30 +0530)]
msm: ADSPRPC: Use SMD on targets that doesn't support GLINK

Enable SMD for backward compatibility on targets that doesn't
support glink.

Change-Id: I9e9073dd3b2d7b789c79a31ae77fff78e6e61e36
Acked-by: Bharath Kumar <bkumar@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
7 years agodiag: Update the read buffers status properly
Manoj Prabhu B [Fri, 14 Apr 2017 07:20:24 +0000 (12:50 +0530)]
diag: Update the read buffers status properly

This patch updates the global variables and checks
for the logging mode status to mark the buffer
status properly.

CRs-Fixed: 2033760
Change-Id: I29a13e2fecaecacc1a0f46358ae7d4db1d2b3786
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agomsm: isp: Fix dead lock in ISR
Abhishek Kondaveeti [Mon, 10 Apr 2017 11:10:30 +0000 (16:40 +0530)]
msm: isp: Fix dead lock in ISR

Unlock spin lock before returning in case of
tasklet overflow. Increase tasklet queue size
to avoid tasklet overflow.

Change-Id: If9dc03b8dc0bd026b904b6339dd7a7c9c6443871
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
7 years agodefconfig: msm: Enable HWBinder for SDM660
Neeraj Upadhyay [Wed, 5 Apr 2017 07:03:44 +0000 (12:33 +0530)]
defconfig: msm: Enable HWBinder for SDM660

Enable HWBinder Domain for SDM660.

Change-Id: I47c4155e8ce9c21700f80e13f6301b2fb49fa87a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agodefconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG
Rakesh Pillai [Thu, 13 Apr 2017 12:05:12 +0000 (17:35 +0530)]
defconfig: msmcortex_mediabox: Disable CONFIG_ICNSS_DEBUG

Disable CONFIG_ICNSS_DEBUG

CRs-Fixed: 2033750
Change-Id: If22f155538877b18c71052363565f245da913ecb
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoMerge "msm: ipa: fix for wakelock refcnt"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:21 +0000 (21:52 -0700)]
Merge "msm: ipa: fix for wakelock refcnt"

7 years agoMerge "msm: camera: isp: Fix stream on timeout in LPM"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:20 +0000 (21:52 -0700)]
Merge "msm: camera: isp: Fix stream on timeout in LPM"

7 years agoMerge "ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:18 +0000 (21:52 -0700)]
Merge "ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630"

7 years agoMerge "ath10k: Fix crash when SSR is done during packet transfer"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:17 +0000 (21:52 -0700)]
Merge "ath10k: Fix crash when SSR is done during packet transfer"

7 years agoMerge "ARM: dts: msm: add panel parameters for sharp wuxga panel for sdm630"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:16 +0000 (21:52 -0700)]
Merge "ARM: dts: msm: add panel parameters for sharp wuxga panel for sdm630"

7 years agoMerge "msm: mdss: add split link panel support in mdss"
Linux Build Service Account [Fri, 14 Apr 2017 04:52:15 +0000 (21:52 -0700)]
Merge "msm: mdss: add split link panel support in mdss"

7 years agoinput: misc: hbtp_input: Support for Region of Interest/sensors
Alex Sarraf [Wed, 22 Feb 2017 20:24:20 +0000 (12:24 -0800)]
input: misc: hbtp_input: Support for Region of Interest/sensors

Add support for sensor and Region of Interest (ROI) events.
Create new ioctl to receive sensor data from userspace.
Create binary sysfs entries to expose data from kernel to
userspace.

Change-Id: Ifa76f08eb293c3da0618c22c07e65976319ea926
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630"
Linux Build Service Account [Thu, 13 Apr 2017 17:30:11 +0000 (10:30 -0700)]
Merge "ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630"

7 years agoMerge "arm64: defconfig: Add a config option to compile cpu-boost driver"
Linux Build Service Account [Thu, 13 Apr 2017 17:30:10 +0000 (10:30 -0700)]
Merge "arm64: defconfig: Add a config option to compile cpu-boost driver"

7 years agodrivers: cpuidle: lpm-levels: Log hotplug events
Mahesh Sivasubramanian [Thu, 13 Apr 2017 14:55:52 +0000 (08:55 -0600)]
drivers: cpuidle: lpm-levels: Log hotplug events

Add debug events for CPU_STARTING and CPU_DYING events when a CPU is
hotplugged. The events will help correlate with the TZ events using the
ARM timers counts for debug.

Change-Id: Ieb6449575b4a95974b787ceea430fc5362c77c29
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
7 years agoath10k: Fix crash when SSR is done during packet transfer
Rakesh Pillai [Thu, 13 Apr 2017 11:39:58 +0000 (17:09 +0530)]
ath10k: Fix crash when SSR is done during packet transfer

If any data traffic is ON, when SSR is triggered there is a crash
since we allowed HTT packets to go through.
Stopping these packets to go through fixes this crash.

Also changing the QMI client ID for the qmi client.

CRs-Fixed: 2033262
Change-Id: I1236ef901fd8943f228497a79f11feaec1c16d8e
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630
Tirupathi Reddy [Thu, 9 Mar 2017 14:05:32 +0000 (19:35 +0530)]
ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630

Configure APC0/1 CPR instances to operate in closed-loop operation
to maintain an optimal voltage set point on the APC0/1 voltage rails.

Also, add static open-loop and closed-loop voltage margins as per
the voltage characterization results.

CRs-Fixed: 2032723
Change-Id: I1a01d78252dc71ca7def251e99581cad3714cdd1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630
Anirudh Ghayal [Tue, 11 Apr 2017 08:28:33 +0000 (13:58 +0530)]
ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630

The minimum supported voltage on the SMPS5A is 1.224V, update
it accordingly.

Change-Id: Ib973febdf5b719836f5fb54e6cd6e797e7101e3e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoMerge "arm: make default iova alignment as 2mb"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:13 +0000 (02:19 -0700)]
Merge "arm: make default iova alignment as 2mb"

7 years agoMerge "USB: gadget: ffs: Fix USBCV compliance failure due to adbd"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:12 +0000 (02:19 -0700)]
Merge "USB: gadget: ffs: Fix USBCV compliance failure due to adbd"

7 years agoMerge "msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:11 +0000 (02:19 -0700)]
Merge "msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display"

7 years agoMerge "msm: wlan: AR TX power regulatory updates"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:10 +0000 (02:19 -0700)]
Merge "msm: wlan: AR TX power regulatory updates"

7 years agoMerge "drm/msm/sde: remove redundant CRTC event caching"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:08 +0000 (02:19 -0700)]
Merge "drm/msm/sde: remove redundant CRTC event caching"

7 years agoMerge "apq8098: rename apq8998 to apq8098"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:07 +0000 (02:19 -0700)]
Merge "apq8098: rename apq8998 to apq8098"

7 years agoMerge "power: qpnp-fg-gen3: Add support to configure base termination current"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:05 +0000 (02:19 -0700)]
Merge "power: qpnp-fg-gen3: Add support to configure base termination current"

7 years agoMerge "ath10k: recal the txpower when removing interface"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:02 +0000 (02:19 -0700)]
Merge "ath10k: recal the txpower when removing interface"

7 years agoMerge "soc: qcom: socinfo: Protect current_image using semaphore lock."
Linux Build Service Account [Thu, 13 Apr 2017 09:19:01 +0000 (02:19 -0700)]
Merge "soc: qcom: socinfo: Protect current_image using semaphore lock."

7 years agoMerge "ARM: dts: msm: add SMB1351 charger node for SDM630 MTP"
Linux Build Service Account [Thu, 13 Apr 2017 09:19:00 +0000 (02:19 -0700)]
Merge "ARM: dts: msm: add SMB1351 charger node for SDM630 MTP"

7 years agoMerge "Merge branch 'android-4.4@8e53f7c' into branch 'msm-4.4'"
Linux Build Service Account [Thu, 13 Apr 2017 09:18:58 +0000 (02:18 -0700)]
Merge "Merge branch 'android-4.4@8e53f7c' into branch 'msm-4.4'"

7 years agoarm: make default iova alignment as 2mb
Charan Teja Reddy [Thu, 13 Apr 2017 05:22:53 +0000 (10:52 +0530)]
arm: make default iova alignment as 2mb

To get the 2MB aligned IOVA section mappings, set
ARM_DMA_IOMMU_ALIGNMENT to 9.

Change-Id: I3254c39e4864c32d6f25a4d416b1b7aec6756ecd
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoarm64: defconfig: Add a config option to compile cpu-boost driver
Rohit Gupta [Thu, 13 Apr 2017 02:11:41 +0000 (19:11 -0700)]
arm64: defconfig: Add a config option to compile cpu-boost driver

CONFIG_CPU_BOOST config option is only enabled for
msmcortex-perf_defconfig. Enable it for msmcortex_defconfig too.

Change-Id: I31d42aa4ac3a78e6bc3c52aa0ba7cebd8c5a7893
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoASoC: wcd-spi: Initialize variables before use
Karthikeyan Mani [Wed, 12 Apr 2017 22:44:05 +0000 (15:44 -0700)]
ASoC: wcd-spi: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I9f7dd1e87d323ff300060c3d838342f55e6711e8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agoASoC: wcd9335: Initialize variables before use
Karthikeyan Mani [Wed, 12 Apr 2017 22:42:18 +0000 (15:42 -0700)]
ASoC: wcd9335: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I719bb13acb1ae8a9654604d251f728d98cffe936
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agoASoC: wcd_cpe_core: Initialize variables before use
Karthikeyan Mani [Thu, 23 Feb 2017 19:49:50 +0000 (11:49 -0800)]
ASoC: wcd_cpe_core: Initialize variables before use

Initialize variable before use to avoid
invalid memory access.

CRs-fixed: 2004067
Change-Id: I882cdf78709d6dcc2dcd1fc7f903492aa2581138
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
7 years agodrm/msm/sde: remove redundant CRTC event caching
Abhinav Kumar [Sat, 25 Mar 2017 04:54:23 +0000 (21:54 -0700)]
drm/msm/sde: remove redundant CRTC event caching

Currently both sde_crtc_atomic_begin() and
sde_crtc_atomic_flush() add the CRTC state event
to the cached sde_crtc->event.

This has a potential NULL ptr issue in the
case of vblank event firing in between sde_crtc_atomic_begin() and
sde_crtc_atomic_flush() because the upstream DRM vblank API
send_vblank_event() doesn't consider the case when the VBLANK
interrupt could have already freed any pending vblank events.

Remove the caching from sde_crtc_atomic_begin() to avoid this
condition.

Also make sure that a page_flip event was indeed submitted before
signaling the complete_flip() by setting a PENDING_FLIP flag right
after HW flush.

Change-Id: Ib201d2851e57bf22ec1f00814fc2e4dd2f35bfa1
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agoMerge "diag: Place proper NULL pointer checks"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:20 +0000 (16:10 -0700)]
Merge "diag: Place proper NULL pointer checks"

7 years agoMerge "wil6210: add sysfs file for enable/disable fst link loss"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:19 +0000 (16:10 -0700)]
Merge "wil6210: add sysfs file for enable/disable fst link loss"

7 years agoMerge "ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:18 +0000 (16:10 -0700)]
Merge "ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously"

7 years agoMerge "ASoC: msm: qdsp6v2: support TDM to AUX_PCM loopback for BT HFP uplink"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:18 +0000 (16:10 -0700)]
Merge "ASoC: msm: qdsp6v2: support TDM to AUX_PCM loopback for BT HFP uplink"

7 years agoMerge "ASoC: msm: support up to 8 channel capture on MM1"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:17 +0000 (16:10 -0700)]
Merge "ASoC: msm: support up to 8 channel capture on MM1"

7 years agoMerge "ASoC: msm: defer the machine driver probing if ADSP is down"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:16 +0000 (16:10 -0700)]
Merge "ASoC: msm: defer the machine driver probing if ADSP is down"

7 years agoMerge "ASoC: msm: add support for TERT_TDM_RX_4 BE"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:14 +0000 (16:10 -0700)]
Merge "ASoC: msm: add support for TERT_TDM_RX_4 BE"

7 years agoMerge "ASoC: codecs: Fix mbhc data NULL pointer dereferencing"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:14 +0000 (16:10 -0700)]
Merge "ASoC: codecs: Fix mbhc data NULL pointer dereferencing"

7 years agoMerge "dma-mapping: add the missing functions to dma_map_ops"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:13 +0000 (16:10 -0700)]
Merge "dma-mapping: add the missing functions to dma_map_ops"

7 years agoMerge "dma-mapping: add i/o coherency support for 32bit"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:12 +0000 (16:10 -0700)]
Merge "dma-mapping: add i/o coherency support for 32bit"

7 years agoMerge "drm/msm: Re-trigger preemption upon command completion"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:11 +0000 (16:10 -0700)]
Merge "drm/msm: Re-trigger preemption upon command completion"

7 years agoMerge "msm: vidc: Update QP control values"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:11 +0000 (16:10 -0700)]
Merge "msm: vidc: Update QP control values"

7 years agoMerge "ARM: dts: msm: Add RRADC die-temp channel for PM660 FG"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:09 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: Add RRADC die-temp channel for PM660 FG"

7 years agoMerge "drm/msm: add HDMI debugfs support to show edid modes"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:05 +0000 (16:10 -0700)]
Merge "drm/msm: add HDMI debugfs support to show edid modes"

7 years agoMerge "drm/msm: Add DRM EDID parser for external displays"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:05 +0000 (16:10 -0700)]
Merge "drm/msm: Add DRM EDID parser for external displays"

7 years agoMerge "drivers/video: Add new aspect ratios for HDMI 2.0"
Linux Build Service Account [Wed, 12 Apr 2017 23:10:04 +0000 (16:10 -0700)]
Merge "drivers/video: Add new aspect ratios for HDMI 2.0"

7 years agosoc: qcom: remove debugfs interface from ssr, service locator & notifier
Satya Durga Srinivasu Prabhala [Tue, 4 Apr 2017 20:07:03 +0000 (13:07 -0700)]
soc: qcom: remove debugfs interface from ssr, service locator & notifier

As debugfs interface is intended to test the respective framework, remove
from the driver to make sure it won't be available by default.

CRs-Fixed: 2025661
Change-Id: I6af9a8333c8028611f889cc2f9b0beb37ef12c9b
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agomsm: wlan: AR TX power regulatory updates
bings [Tue, 11 Apr 2017 22:23:49 +0000 (06:23 +0800)]
msm: wlan: AR TX power regulatory updates

Regulatory updates for AR TX power

CRs-Fixed: 2031894
Change-Id: I8b198d009b1e008be252698128285b9c218100ba
Signed-off-by: bings <bings@codeaurora.org>
7 years agosoc: qcom: socinfo: Protect current_image using semaphore lock.
Swetha Chikkaboraiah [Mon, 27 Mar 2017 09:30:17 +0000 (15:00 +0530)]
soc: qcom: socinfo: Protect current_image using semaphore lock.

Variable current_image can be modified by multiple threads.
This change will protect current_image getting modified
by multiple threads.

Change-Id: I33df463311b24f73b1ba124d388731a72bd13263
CRs-Fixed: 2016485
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
7 years agodiag: Place proper NULL pointer checks
Manoj Prabhu B [Tue, 11 Apr 2017 15:49:17 +0000 (21:19 +0530)]
diag: Place proper NULL pointer checks

This patch checks the buffer for NULL
pointer to prevent undefined access.

CRs-Fixed: 2032374
Change-Id: I1a1c4ca24e5c3d538ea93685de304dd186968308
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agoARM: dts: msm: add SMB1351 charger node for SDM630 MTP
Ashay Jaiswal [Wed, 12 Apr 2017 09:40:16 +0000 (15:10 +0530)]
ARM: dts: msm: add SMB1351 charger node for SDM630 MTP

Add SMB1351 charger node in parallel charger configuration
for SDM630.

Change-Id: Icf7e307971f5d34b28d8363c055d9a8c65adffcd
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoARM: dts: msm: Disable U1U2 low power modes for SDM660
Vijayavardhan Vennapusa [Thu, 6 Apr 2017 07:36:20 +0000 (13:06 +0530)]
ARM: dts: msm: Disable U1U2 low power modes for SDM660

Enable support for "Disable U1U2 low power modes" for SDM660 in
superspeed mode.

Change-Id: Ic49cf7ef48cb027cd82c0a3de7f98ae3da1fca61
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agodrm/msm: Re-trigger preemption upon command completion
Sharat Masetty [Thu, 6 Apr 2017 10:13:14 +0000 (15:43 +0530)]
drm/msm: Re-trigger preemption upon command completion

Trigger preemption from the interrupt handler. This allows us
to aggressively change ringbuffers especially to lower priority
ones and finish working on pending commands.

Change-Id: Ic05213f3d02b1bb7400461edd0d19e38d5b01ec2
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
7 years agoRevert "ASoC: msm: decrement slim channel ref to set the property"
Walter Yang [Tue, 11 Apr 2017 03:22:41 +0000 (20:22 -0700)]
Revert "ASoC: msm: decrement slim channel ref to set the property"

This reverts commit 8777df6c6eabb099c5069081dc991bb819337ff6
("ASoC: msm: decrement slim channel ref to set the property").

Slimbus channel deallocate and slimbus channel query should
happen in pair to ensure the ref count and state of the
channel are both in correct value.

CRs-Fixed: 1102349
Change-Id: Ie15f6e65448194ba781160856dd3f4e2ab081de1
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
7 years agoath10k: recal the txpower when removing interface
Ryan Hsu [Thu, 22 Dec 2016 22:31:46 +0000 (14:31 -0800)]
ath10k: recal the txpower when removing interface

The txpower is being recalculated when adding interface to make sure
txpower won't overshoot the spec, and when removing the interface,
the txpower should again to be recalculated to restore the correct value
from the active interface list.

Following is one of the scenario
vdev0 is created as STA and connected: txpower:23
vdev1 is created as P2P_DEVICE for control interface: txpower:0
vdev2 is created as p2p go/gc interface: txpower is 21

So the vdev2@txpower:21 will be set to firmware when vdev2 is created.
When we tear down the vdev2, the txpower needs to be recalculated to
re-set it to vdev0@txpower:23 as vdev0/vdev1 are the active interface.

ath10k_pci mac vdev 0 peer create 8c:fd:f0:01:62:98
ath10k_pci mac vdev_id 0 txpower 23
... (adding interface)
ath10k_pci mac vdev create 2 (add interface) type 1 subtype 3
ath10k_pci mac vdev_id 2 txpower 21
ath10k_pci mac txpower 21
... (removing interface)
ath10k_pci mac vdev 2 delete (remove interface)
ath10k_pci vdev 1 txpower 0
ath10k_pci vdev 0 txpower 23
ath10k_pci mac txpower 23

Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: d679fa1b3c8997e3a371da3cca08c44a38054c34
CRs-Fixed: 2027293
Change-Id: I56befd4c4fd80ab77ed65926663a1f2471701f68
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agomsm: vidc: Update QP control values
Deepak Kushwah [Thu, 30 Mar 2017 13:26:03 +0000 (18:56 +0530)]
msm: vidc: Update QP control values

Update QP Control value and sanitise QP values for
Initial QP properly.

Change-Id: I870a4f33a0dfbfd3a95970bb9cf319855fba746f
CRs-Fixed: 2027340
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
7 years agoath10k: fix incorrect txpower set by P2P_DEVICE interface
Ryan Hsu [Tue, 13 Dec 2016 22:55:19 +0000 (14:55 -0800)]
ath10k: fix incorrect txpower set by P2P_DEVICE interface

Ath10k reports the phy capability that supports P2P_DEVICE interface.

When we use the P2P supported wpa_supplicant to start connection, it'll
create two interfaces, one is wlan0 (vdev_id=0) and one is P2P_DEVICE
p2p-dev-wlan0 which is for p2p control channel (vdev_id=1).

ath10k_pci mac vdev create 0 (add interface) type 2 subtype 0
ath10k_add_interface: vdev_id: 0, txpower: 0, bss_power: 0
...
ath10k_pci mac vdev create 1 (add interface) type 2 subtype 1
ath10k_add_interface: vdev_id: 1, txpower: 0, bss_power: 0

And the txpower in per vif bss_conf will only be set to valid tx power when
the interface is assigned with channel_ctx.

But this P2P_DEVICE interface will never be used for any connection, so
that the uninitialized bss_conf.txpower=0 is assinged to the
arvif->txpower when interface created.

Since the txpower configuration is firmware per physical interface.
So the smallest txpower of all vifs will be the one limit the tx power
of the physical device, that causing the low txpower issue on other
active interfaces.

wlan0: Limiting TX power to 21 (24 - 3) dBm
ath10k_pci mac vdev_id 0 txpower 21
ath10k_mac_txpower_recalc: vdev_id: 1, txpower: 0
ath10k_mac_txpower_recalc: vdev_id: 0, txpower: 21
ath10k_pci mac txpower 0

This issue only happens when we use the wpa_supplicant that supports
P2P or if we use the iw tool to create the control P2P_DEVICE interface.

Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: 88407beb1b1462f706a1950a355fd086e1c450b6
CRs-Fixed: 2027293
Change-Id: Ib56352e1601e7400b856cfafe67503bee98d5ced
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agoUSB: gadget: ffs: Fix USBCV compliance failure due to adbd
Ajay Agarwal [Wed, 5 Apr 2017 17:24:56 +0000 (22:54 +0530)]
USB: gadget: ffs: Fix USBCV compliance failure due to adbd

Userspace f_fs client e.g. ADB daemon can re-open ep0 file node
on adb_read/write error (or on bus reset). This results in device
disabling and enabling pull-up on bus reset. USBCV CH9 tests which
perform bus resets also fail due to this.
Fix this by not failing adb_read on bus reset so that adbd client
woudln't attempt ep0-file close. This behavior is not changed for
composition switch or cable disconnect by checking if adb_read
was attempting first transfer after online state or it was in middle
of a session when disconnect happened.

Change-Id: I2378f22995b7ddffb17d618df059d8aedb594d97
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>