Commit graph

587867 commits

Author SHA1 Message Date
Neeraj Upadhyay
8c9ba5be5e defconfig: msm: Enable HWBinder for SDM660
Enable HWBinder Domain for SDM660.

Change-Id: I47c4155e8ce9c21700f80e13f6301b2fb49fa87a
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-04-13 23:36:24 -07:00
Rakesh Pillai
9b6b0de838 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>
2017-04-13 23:28:56 -07:00
Linux Build Service Account
406ab7d2d4 Merge "msm: ipa: fix for wakelock refcnt" 2017-04-13 21:52:20 -07:00
Linux Build Service Account
59acd80684 Merge "msm: camera: isp: Fix stream on timeout in LPM" 2017-04-13 21:52:19 -07:00
Linux Build Service Account
180376b166 Merge "ARM: dts: msm: Enable APC0/1 CPR closed-loop operation for sdm630" 2017-04-13 21:52:17 -07:00
Linux Build Service Account
349ac7ea59 Merge "ath10k: Fix crash when SSR is done during packet transfer" 2017-04-13 21:52:16 -07:00
Linux Build Service Account
f6f01239b4 Merge "ARM: dts: msm: add panel parameters for sharp wuxga panel for sdm630" 2017-04-13 21:52:15 -07:00
Linux Build Service Account
2fce80230e Merge "msm: mdss: add split link panel support in mdss" 2017-04-13 21:52:14 -07:00
Ashay Jaiswal
d288491f1b qcom: smb2: ensure QC adapter is at 5V at shutdown
In the shutdown hook, driver forces adapter to 5V but
there is a possibility that the source change IRQ triggers
and moves back the adapter to 9V.
To avoid this and any race between the irq's and shutdown path,
disable all irqs as the first step in shutdown path.

CRs-Fixed: 2032575
Change-Id: I0d8f59a73b6631e9bf6f5d64dd215c239e7772fe
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-04-14 10:21:07 +05:30
Hamad Kadmany
0766e5db80 wil6210: add option to load FTM FW
Module parameter allows to load specific FW used
for FTM testing.

Change-Id: Ic6b4e1596edc0068a6cbd656ec7dfb82746c3f8a
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2017-04-14 07:05:04 +03:00
Pavankumar Kondeti
a76d9370e8 core_ctl: Take state_lock while preparing the global_state
global_state file output is prepared by reading the members of CPU
and cluster data structures. These members are updated under state_lock,
so acquire the same lock while preparing the output.

Change-Id: I8cb3ca6f9100a24f0bc9b293d364ad6aa8aabefb
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-04-14 07:09:53 +05:30
Alex Sarraf
14e89235dc 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>
2017-04-13 14:30:49 -07:00
Linux Build Service Account
15a311d026 Merge "ARM: dts: msm: Update regulator min-voltage for SMPS5A on SDM660/630" 2017-04-13 10:30:11 -07:00
Linux Build Service Account
728981c575 Merge "arm64: defconfig: Add a config option to compile cpu-boost driver" 2017-04-13 10:30:09 -07:00
Mahesh Sivasubramanian
476b11678f 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>
2017-04-13 08:57:30 -06:00
Rakesh Pillai
6079be7471 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>
2017-04-13 17:22:36 +05:30
Tirupathi Reddy
4d569b976c 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>
2017-04-13 17:18:55 +05:30
Hamad Kadmany
93a521dc52 wil6210: Improve AP stop handling
Set resetting flag early when stopping AP to avoid
disconnect events as a result of disconnect command
sent during AP stop procedure.

Change-Id: I59647d5775e68705b361b1aaacbc6a6088e9c813
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2017-04-13 14:38:45 +03:00
Hamad Kadmany
abd1cc456b wil6210: Fix protection against connections during reset
Existing code that ignores connection events during
reset flow will never take effect since it locks the
same mutex taken by the reset flow.

In addition, in case of unsolicited disconnect events ignore
those as well since device is about to get reset.

Change-Id: I132040822b8c1b3d1d92965d578ed5bee0b3d1cf
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2017-04-13 14:38:20 +03:00
Anirudh Ghayal
4d785ef60b 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>
2017-04-13 15:28:26 +05:30
Linux Build Service Account
16c1669252 Merge "arm: make default iova alignment as 2mb" 2017-04-13 02:19:13 -07:00
Linux Build Service Account
ea8b530b5e Merge "USB: gadget: ffs: Fix USBCV compliance failure due to adbd" 2017-04-13 02:19:11 -07:00
Linux Build Service Account
9689415e9a Merge "msm: mdss: configure SMART_PANEL_ALIGN_MODE for split display" 2017-04-13 02:19:10 -07:00
Linux Build Service Account
6b7fb076d4 Merge "msm: wlan: AR TX power regulatory updates" 2017-04-13 02:19:09 -07:00
Linux Build Service Account
d604805e4d Merge "drm/msm/sde: remove redundant CRTC event caching" 2017-04-13 02:19:07 -07:00
Linux Build Service Account
2b0de03719 Merge "apq8098: rename apq8998 to apq8098" 2017-04-13 02:19:06 -07:00
Linux Build Service Account
1ac435a768 Merge "power: qpnp-fg-gen3: Add support to configure base termination current" 2017-04-13 02:19:04 -07:00
Linux Build Service Account
b290a7a8e7 Merge "ath10k: recal the txpower when removing interface" 2017-04-13 02:19:02 -07:00
Linux Build Service Account
4d121122fe Merge "soc: qcom: socinfo: Protect current_image using semaphore lock." 2017-04-13 02:19:00 -07:00
Linux Build Service Account
27925f25a9 Merge "ARM: dts: msm: add SMB1351 charger node for SDM630 MTP" 2017-04-13 02:18:59 -07:00
Linux Build Service Account
0adf9d4050 Merge "Merge branch 'android-4.4@8e53f7c' into branch 'msm-4.4'" 2017-04-13 02:18:57 -07:00
Charan Teja Reddy
9c490fa73d 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>
2017-04-12 22:28:14 -07:00
Rohit Gupta
b596bcc918 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>
2017-04-12 19:11:41 -07:00
Karthikeyan Mani
d1e077de03 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>
2017-04-12 17:26:53 -07:00
Karthikeyan Mani
13feabf360 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>
2017-04-12 17:26:36 -07:00
Karthikeyan Mani
075b17a1d2 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>
2017-04-12 17:26:25 -07:00
Abhinav Kumar
fe965aa6bc 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>
2017-04-12 16:39:08 -07:00
Linux Build Service Account
4a4051e573 Merge "diag: Place proper NULL pointer checks" 2017-04-12 16:10:20 -07:00
Linux Build Service Account
d96dc0727a Merge "wil6210: add sysfs file for enable/disable fst link loss" 2017-04-12 16:10:19 -07:00
Linux Build Service Account
fd64062315 Merge "ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously" 2017-04-12 16:10:18 -07:00
Linux Build Service Account
a4d598f9ee Merge "ASoC: msm: qdsp6v2: support TDM to AUX_PCM loopback for BT HFP uplink" 2017-04-12 16:10:17 -07:00
Linux Build Service Account
3ce5511759 Merge "ASoC: msm: support up to 8 channel capture on MM1" 2017-04-12 16:10:17 -07:00
Linux Build Service Account
d11deab41b Merge "ASoC: msm: defer the machine driver probing if ADSP is down" 2017-04-12 16:10:16 -07:00
Linux Build Service Account
7cd2991c8e Merge "ASoC: msm: add support for TERT_TDM_RX_4 BE" 2017-04-12 16:10:14 -07:00
Linux Build Service Account
ae9e7ab9f2 Merge "ASoC: codecs: Fix mbhc data NULL pointer dereferencing" 2017-04-12 16:10:13 -07:00
Linux Build Service Account
4c9126a7a2 Merge "dma-mapping: add the missing functions to dma_map_ops" 2017-04-12 16:10:12 -07:00
Linux Build Service Account
e56d3280a5 Merge "dma-mapping: add i/o coherency support for 32bit" 2017-04-12 16:10:12 -07:00
Linux Build Service Account
840c2fd1fb Merge "drm/msm: Re-trigger preemption upon command completion" 2017-04-12 16:10:11 -07:00
Linux Build Service Account
a694bbf616 Merge "msm: vidc: Update QP control values" 2017-04-12 16:10:10 -07:00
Linux Build Service Account
0a2d2c47a8 Merge "ARM: dts: msm: Add RRADC die-temp channel for PM660 FG" 2017-04-12 16:10:09 -07:00