Commit graph

582688 commits

Author SHA1 Message Date
Skylar Chang
fc168a68ae msm: gsi: use reinit_completion
To avoid a race condition between init_completion() and complete()
which will cause a crash use reinit_completion() which is safe.

CRs-Fixed: 1114785
Change-Id: I5b5c9eb6a4dbe406951d71fe5963b3c4e411daa0
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-02-06 13:29:35 -08:00
Linux Build Service Account
01e31721d2 Merge "ASoC: msm: qdsp6v2: Fix range check logic of port index" 2017-02-06 13:21:40 -08:00
Linux Build Service Account
6b46ac2168 Merge "ASoC: wcd-spi: add system suspend and resume functionality" 2017-02-06 13:21:39 -08:00
Linux Build Service Account
f445080d51 Merge "ARM: dts: msm: correct vote on ldo11 for vddio on sdm660" 2017-02-06 13:21:38 -08:00
Linux Build Service Account
c462c1320a Merge "msm: kgsl: Add NULL check for kgsl_midframe before accessing it" 2017-02-06 13:21:37 -08:00
Linux Build Service Account
e4de610870 Merge "ASoC: msm: remove duplicate mixer control" 2017-02-06 13:21:36 -08:00
Linux Build Service Account
dac38dcfe2 Merge "ARM: dts: msm: Enable GPU NAP state on SDM660" 2017-02-06 13:21:35 -08:00
Linux Build Service Account
bdec82ffe9 Merge "ARM: dts: msm: Add msm-core device for sdm630" 2017-02-06 13:21:34 -08:00
Harry Yang
b334b8bf94 ARM: dts: msm: Configure PMI8998 GPIO6 for discharge FET ctrl signal
The QNOVO discharge FET gate is driven by PMI8998 GPIO pin. Configure
GPIO6 to route the internal QNOVO discharge FET control signal to the
pin.

Change-Id: I4dea54c1952d0da21f2bdb8a41b421cab558cafa
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-06 12:29:15 -08:00
Skylar Chang
8e3f081814 msm: rmnet_ipa: do not release resource on pending data
In case there is pending data submitted to IPA, IPA RM resource should
not be released. The resource release happens only when all packets were
processed by IPA.

CRs-Fixed: 1116262
Change-Id: I19756cbe4f84a5d09853d6066362e4a2c9ae1f73
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-02-06 11:35:13 -08:00
Sungjun Park
e02e63b801 bluetooth: Fix free data pointer routine
Data pointer has been reused after freed it. So,
it has been moved to after using the data pointer
to clean up resource and freed it.

Change-Id: Ibc94e092134ff1f36e896c679ade7f639254a24d
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
2017-02-06 10:01:02 -08:00
Skylar Chang
2eaebfbcb4 msm: ipa3: fix freeze vote for SSR
Reset the freeze vote after modem SSR to allow IPA clock gating.

Change-Id: Ice78831abc52aed44d640109e1453da7e2af9702
CRs-Fixed: 2002197
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-02-06 09:45:58 -08:00
Tatenda Chipeperekwa
0a3e9cc834 msm: mdss: dp: add null check for token value
Add a null check for a token value that is returned
from a string splitting function. This will prevent
null pointer dereferencing when attempting to use the
token.

CRs-Fixed: 2002785
Change-Id: I6d3c1dafc2c7d0914c116c73a8ed115c2c8f9e86
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-02-06 09:03:51 -08:00
Linux Build Service Account
20e1ed9259 Merge "ASoC: sdm660-cdc: Add 4-mic DMIC support" 2017-02-06 04:23:53 -08:00
Linux Build Service Account
39dc977caf Merge "ASoC: msm: qdsp6v2: Add mixer controls for PRI/SEC TDM" 2017-02-06 04:23:52 -08:00
Linux Build Service Account
5f0c116c60 Merge "ARM: dts: msm: Add video support for SDM630" 2017-02-06 04:23:51 -08:00
Linux Build Service Account
979e8f753c Merge "ARM: dts: msm: Update venus clock cycles for SDM660" 2017-02-06 04:23:50 -08:00
Linux Build Service Account
c892e8fa89 Merge "cfg80211: export interface stopping function" 2017-02-06 04:23:48 -08:00
Linux Build Service Account
2511ad49fa Merge "spcom: print error message on lock ion failure" 2017-02-06 04:23:48 -08:00
Linux Build Service Account
58666f9527 Merge "defconfig: remove the cti config for perf of sdm660" 2017-02-06 04:23:47 -08:00
Linux Build Service Account
854146dae5 Merge "ARM: dts: msm: enable correct power sequence of smmu and mdss GDSCs" 2017-02-06 04:23:46 -08:00
Linux Build Service Account
46c51a37b4 Merge "msm: mdss: Do not apply bl scale if current back light is zero" 2017-02-06 04:23:45 -08:00
Linux Build Service Account
259275d3a8 Merge "msm: mdss: dp: fix programming of audio ACR control" 2017-02-06 04:23:44 -08:00
Linux Build Service Account
fe1a2cd6f9 Merge "ARM: dts: msm: Change underflow color for truly/sharp wqxga panel" 2017-02-06 04:23:43 -08:00
Linux Build Service Account
9577ce3f81 Merge "msm: mdss: dp: fix hdcp data address" 2017-02-06 04:23:42 -08:00
Linux Build Service Account
d61bb96aff Merge "ARM: dts: msm: update recommended QOS vbif value for sdm660" 2017-02-06 04:23:41 -08:00
Linux Build Service Account
dc18c07931 Merge "msm: mdss: fix mdp vbif writeback qos settings" 2017-02-06 04:23:40 -08:00
Linux Build Service Account
bac30a06da Merge "msm: mdss: Fix 3D Mux when restoring from DSC on/off" 2017-02-06 04:23:39 -08:00
Linux Build Service Account
6dd32f6958 Merge "power: reset: Remove secure boot mode check" 2017-02-06 04:23:38 -08:00
Linux Build Service Account
2aad560e7a Merge " msm: ADSPRPC: Use correct method for static processes" 2017-02-06 04:23:38 -08:00
Linux Build Service Account
50c69dd9ec Merge "usb: dwc3: Add support to LPM L1 remote wakeup for ep0 endpoints" 2017-02-06 04:23:37 -08:00
Rama Krishna Phani A
9a21fb7096 ARM: dts: msm: Update Temperature sensor support for sdm630
Update SW temperature sensor mapping for sdm630 target.

Change-Id: Id1969171dff46b8bf7f78c823ed4d06ccc8369bc
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-02-06 03:55:12 -08:00
Rama Krishna Phani A
6d4519f691 thermal: tsens: Update sensor id for sdm630
Update sensor id flag for sdm630 such that thermal
client can obtain the HW ID for the available
temperature sensors (TSENS) with sensor ID details.

Change-Id: I70a1c7e4a420dc41591f021da499efe10b7fd6ae
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-02-06 17:21:53 +05:30
Amey Telawane
a83eb243ca ARM: dts: msm: change gpio channel for sdm660
Map gpio to cti trigin using proper channel.
This enables gpio to raise triggers.

CRs-fixed: 2001088
Change-Id: I54264beb6af2a9a6b308aa1d85e1123877f73e48
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
2017-02-06 17:14:02 +05:30
Samyukta Mogily
417504815d ARM: dts: msm: Update camera clock sources for sdm660
Changing the clock source frequencies to lower
working frequencies so that the camera runs in
SVS_L1 mode, which reduces the power consumption.

Change-Id: I92344fcd0f4492badd6a50c011b0aa8b4231a373
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
2017-02-06 16:32:14 +05:30
Rajesh Kemisetti
9ea3e6ff51 msm: kgsl: Add NULL check for kgsl_midframe before accessing it
in kgsl_pwrscale_init(), add missing NULL check for kgsl_midframe
to avoid further accessing, in case if memory is not available.

Change-Id: If6a4e59d4675fe67aefc63d7f8251f4d28ddeec5
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-06 16:31:19 +05:30
Rajesh Kemisetti
fa48f3ab62 ARM: dts: msm: Enable GPU NAP state on SDM660
Enable NAP state for A512 GPU to save power.

Change-Id: I3c643c90d39ab33c11146b5864b20c14bc9a339a
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-06 02:37:21 -08:00
Rajesh Kemisetti
ac6d567b7a msm: kgsl: Do required clock settings for SDM660 GPU
Enable retention of memory and periphery logics for
GPU core clock. If the setting is not done then GPU
might get stale data while switching from NAP to
ACTIVE and which leads to page faults or hangs.

Clock settings need to be handled by client drivers only
and hence do it in KGSL driver.

Change-Id: Iea3fd720e2a0eda9f6ee719177a8898bc2bd75e4
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-06 15:25:01 +05:30
Hamad Kadmany
66c8f9ed27 wil6210: protect list of pending wmi events during flush
When flush is done, pending events list is manipulated
without taking the proper spinlock, which could lead to
memory corruption if list is manipulated by wmi worker
or by interrupt routine.

Change-Id: Iccbc65d94f837402c12d9794cfdde21339599a0b
CRs-Fixed: 2002638
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2017-02-06 11:46:36 +02:00
Ashish Garg
c3a44d2d67 ARM: dts: msm: correct vote on ldo11 for vddio on sdm660
On sdm660, VDDIO needs 1.8V and LDO11 is voted for 1.88V
which is causing higher power numbers. Update the vote
correctly for LDO11.

Change-Id: Id6178d312394a4c4bebb77659f6eb7e21574137b
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
2017-02-06 14:52:21 +05:30
Laxminath Kasam
b603bf6436 ASoC: msm: remove duplicate mixer control
WSA speaker controls fail to register due to
duplicate mix control. Remove duplicate control.

Change-Id: I276456493271c9425d1bbde57d381f899c1ee7ab
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-02-06 13:50:41 +05:30
Aditya Bavanari
abb207258a ASoC: msm: Add support for 128KHz in the compress driver
As the audio policy supports the 128KHz sampling
rate, add the support in the kernel driver as well.

CRs-fixed: 1098834
Change-Id: I27b573d8b7d6120730dc607fd1fe9feac42ad009
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2017-02-06 13:23:01 +05:30
Maulik Shah
9b1fcbc10e ARM: dts: msm: Add msm-core device for sdm630
Add msm-core device to run power and temperature
calculation on the cores.

Change-Id: I35045e2dd96d9bf498cf8889eadf0959b345884a
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2017-02-06 12:01:53 +05:30
Tirupathi Reddy
11be5d874f regulator: gfx-ldo: Add GFX LDO support for sdm630
The LDO300 regulator supplies power to GPU subsystem of sdm630.
Update GFX LDO regulator driver to support LDO300 regulation on
sdm630.

CRs-Fixed: 2000929
Change-Id: I7ae9834f47763e06e110c03c4cf4220fe044659e
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-06 11:14:11 +05:30
Linux Build Service Account
dd09cbba26 Merge "jbd2: Fix use after free in kjournald2()" 2017-02-05 20:53:36 -08:00
Linux Build Service Account
8233655f50 Merge "ARM: dts: msm: correct mdp settings of dma pipes for msm8998" 2017-02-05 20:53:35 -08:00
Linux Build Service Account
b5a8dd5d88 Merge "msm: mdss: add support to set the parent of DP pixel clock RCG" 2017-02-05 20:53:34 -08:00
Linux Build Service Account
11f41002e3 Merge "msm: mdss: dp: add support for DP PHY register offset property" 2017-02-05 20:53:33 -08:00
Linux Build Service Account
3e6913ada9 Merge "msm: mdss: Fix possible integer overflow" 2017-02-05 20:53:32 -08:00
Linux Build Service Account
cae1e1f5d1 Merge "msm: mdss: Enable dest_scaler support in mdp for sdm660" 2017-02-05 20:53:32 -08:00