Commit graph

593216 commits

Author SHA1 Message Date
Linux Build Service Account
83bf53784e Merge "msm: ipa: protect q6_proxy_clk_vote" 2017-08-26 00:12:26 -07:00
Linux Build Service Account
ccfef7e701 Merge "softirq: defer softirq processing to ksoftirqd if CPU is busy with RT" 2017-08-25 15:30:51 -07:00
Linux Build Service Account
cac55e7f09 Merge "qpnp-qnovo: fix ptrain done handler" 2017-08-25 15:30:49 -07:00
Linux Build Service Account
62fddf01a4 Merge "qpnp-qnovo: disable qnovo for dcin" 2017-08-25 15:30:48 -07:00
Linux Build Service Account
ea8714b1ba Merge "qpnp-qnovo: disable while shutting down" 2017-08-25 15:30:47 -07:00
Linux Build Service Account
b0a54937a9 Merge "qpnp-qnovo: check ptrain_en in restart work" 2017-08-25 15:30:47 -07:00
Skylar Chang
4387acb96b msm: ipa: protect q6_proxy_clk_vote
Add a mutex to protect q6_proxy_clk_vote.
The proxy vote/unvote may be called from different contexts
which can result in a a race condition.

Change-Id: I402090be5ff35897ed61499a13bf52eb60a1f5cf
CRs-Fixed: 2094724
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-08-25 11:05:10 -07:00
Linux Build Service Account
90553de392 Merge "input: misc: speed up suspend and resume for QTC800S panel" 2017-08-25 08:04:50 -07:00
Linux Build Service Account
812c879d35 Merge "msm: ais: ois: add conditional check for ioctl" 2017-08-24 23:39:58 -07:00
Rahul Sharma
37b709374a msm: ais: ois: add conditional check for ioctl
Add conditional check when sending VIDIOC_MSM_OIS_CFG.

Change-Id: Ie12b13b2157f6ad42d8b1ee46bef166e8a47cb85
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-08-24 18:49:56 -07:00
Linux Build Service Account
99956cfb73 Merge "msm: ADSPRPC: Use msm_ion_do_cache_op to flush userspace buffers" 2017-08-24 14:01:18 -07:00
Linux Build Service Account
3fe16bcfc8 Merge "Revert "ARM: dts: msm: Add fastrpc vmid flag for sdm660"" 2017-08-24 14:01:17 -07:00
Linux Build Service Account
6067c8c6a4 Merge "msm: camera: Synchronize camera open/close calls." 2017-08-24 14:01:16 -07:00
Gustavo Solaira
f2dfd94620 ARM: dts: msm: Add support for msm8996 CV2X boards
Add support for the msm8996 CV2X board that uses an mdm9650
module as endpoint for CV2X radio functionality. The msm8996
is responsible for running the CV2X application stack and
providing external debug and control access to the system.

Change-Id: I575f565580e8f81f15a9017a97aa064e7f2c6088
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-08-24 11:09:00 -07:00
Abhijeet Dharmapurikar
7ade27b017 qpnp-qnovo: fix ptrain done handler
Currently the handler skips calling the update function
but uses the final result from the votable not_ok_to_qnovo_votable.
Fix it by calling the update function so it gets a chance to vote on
not_ok_to_qnovo_votable.

Moreover do not return early from ptrain_done handler without setting
QNI_PT_VOTER's vote on pt_dis_votable. This is a self clearing bit and
unless QNI_PT_VOTER's bit is removed, the next restart may not trickle
down to hw.

Change-Id: I0a860287b638d20b6a4aa05c7bb25e9b81a980d2
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-24 09:54:49 -07:00
Abhijeet Dharmapurikar
ca0bfff287 qpnp-qnovo: disable qnovo for dcin
Usually, DC path is connected to a wireless charger. It is advisable
to disable qnovo when charging wirelessly.
Disable qnovo for dc path unless a property in device tree is set to
specifically enable qnovo for dc path.

Change-Id: I4ca475f30ca0a564f533b4ed8bcd55cfb5da291f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-24 09:54:49 -07:00
Abhijeet Dharmapurikar
47235a7155 qpnp-qnovo: initialize chg_ready votable
If a charger was already present at bootup, we may not delay the start
of qnovo by 15 seconds.

Fix it by setting the chg_ready votable to false during init.

Change-Id: Icf185763576f65028cf2ef0d1c0bbcf6570460ba
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-24 09:54:48 -07:00
Abhijeet Dharmapurikar
9a2676a949 qpnp-qnovo: disable while shutting down
While shutting down set the not_ok_to_qnovo votable to true, so that
we skip measuring ESR if a pulse train done interrupt triggers right
during the shutdown.

Change-Id: If3a0a8e9b1d60920cbbedc16af91c05caec8dcb2
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-24 09:54:47 -07:00
Abhijeet Dharmapurikar
5c1894c01d qpnp-qnovo: check ptrain_en in restart work
Sometimes we observe that the ptrain_en bit is reset back to 0 while
in restart work.

Set it again if so.

Change-Id: I15d46f96a8b751f0386677e3b6876eec8bba9a1f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-24 09:54:45 -07:00
Linux Build Service Account
9a718be2f4 Merge "ARM: dts: msm: update memlat and mincpu node for sdm636" 2017-08-24 06:14:35 -07:00
Linux Build Service Account
f22d1a9af3 Merge "usb: phy: qusb: Allow support for fused tune2 value correction" 2017-08-24 06:14:34 -07:00
Linux Build Service Account
502c187254 Merge "msm: ais: Fix crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG is called" 2017-08-24 06:14:33 -07:00
Linux Build Service Account
d7e5337d56 Merge "msm: camera: Fix null pointer exception in regulator disable" 2017-08-24 06:14:32 -07:00
Linux Build Service Account
d4a8f9c9ca Merge "spcom: return POLLERR when poll() has error" 2017-08-24 06:14:31 -07:00
Linux Build Service Account
bbc14406b1 Merge "ASoC: msm: qdsp6v2: Implement downmix control support for compr driver" 2017-08-24 06:13:58 -07:00
Linux Build Service Account
aefbc13ede Merge "msm: camera: Fix race condition in msm_sd_register." 2017-08-24 06:13:57 -07:00
Linux Build Service Account
ec1199f077 Merge "power: qcom-step-chg: Fix the error return path" 2017-08-24 06:13:56 -07:00
Linux Build Service Account
9626826f5b Merge "dwc3-msm: Add delay between consecutive register reads in while loop" 2017-08-24 06:13:55 -07:00
Narender Ankam
4d811fc832 msm: mdss: dp: fix div by zero error
If for some reasons like ioctl fuss test or reading dpcd caps failed,
max lane count supported might be zero. In such cases handle link clk
calculation gracefully.

Change-Id: I7cb08abce76025930681f6532c03708793d3acc4
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-08-24 16:23:40 +05:30
Jin Fu
db5e493881 input: misc: speed up suspend and resume for QTC800S panel
Mount QT800S suspend and resume actions to early fb event,
so speed up touch response.

Change-Id: I1ca610131e94af806dab4dfa8709fdd9c0556971
Signed-off-by: Jin Fu <jinf@codeaurora.org>
2017-08-24 17:19:31 +08:00
Tharun Kumar Merugu
619757e2f4 Revert "ARM: dts: msm: Add fastrpc vmid flag for sdm660"
Revert this change to avoid TZ dependency in OTA upgrades.
This reverts commit 46756eb931

Change-Id: I2227d1dfa19fa75ea25d42702a9757043b8d63dd
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-08-24 13:44:51 +05:30
Trishansh Bhardwaj
53f6417b1a msm: camera: Synchronize camera open/close calls.
Synchronize camera_v4l2_open and camera_v4l2_close to avoid use
after free.

Change-Id: I1a203ae0753b265594f616496ab8c57e0521fd9f
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
2017-08-23 23:27:13 -07:00
Santosh Mardi
9fdd421d43 ARM: dts: msm: update memlat and mincpu node for sdm636
In SDM636 target CPU frequency corners are updated this
calls for a change in memlat and mincpu node cpufreq to
DDR mapping.

Change-Id: Ief1bf8c3b177b35e6ad178656c736b68401a1845
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2017-08-24 10:52:54 +05:30
Linux Build Service Account
c8e37b5935 Merge "leds: qpnp-wled: Cap the lower limit of brightness level" 2017-08-23 20:24:57 -07:00
Linux Build Service Account
5739675594 Merge "icnss: Do not process FW messages after Modem shutdown" 2017-08-23 20:24:56 -07:00
Linux Build Service Account
89999e357a Merge "ARM: dts: msm: Remove cdsp context banks for SDM636" 2017-08-23 20:24:55 -07:00
Linux Build Service Account
b0d7b054af Merge "msm: ipa3: Load IPA FW using PIL for MDM devices" 2017-08-23 20:24:55 -07:00
Linux Build Service Account
c54615bec1 Merge "defconfig: msm: Enable configs for msm8996 auto CV2X target" 2017-08-23 20:24:52 -07:00
Linux Build Service Account
3d1068e8c1 Merge "mmc: sdhci: Force probe of shdc1 based on boolean property" 2017-08-23 20:24:52 -07:00
Linux Build Service Account
5d09858f45 Merge "ARM: dts: msm: Add early mount for vendor and system" 2017-08-23 20:24:51 -07:00
Linux Build Service Account
03b85eaf78 Merge "msm: sps: Destroy debug log during BAM deregistration" 2017-08-23 20:24:50 -07:00
Linux Build Service Account
0b199b966f Merge "soc: qcom: glink_spi_xprt: Remove extra SPI transactions" 2017-08-23 20:24:49 -07:00
Linux Build Service Account
c6c29db754 Merge "msm: ADSPRPC: Queue one more intent to avoid race condition" 2017-08-23 20:24:48 -07:00
Linux Build Service Account
f61a791dc1 Merge "ASoC: msm: qdspv2: add an API to destroy ion client" 2017-08-23 20:24:47 -07:00
Linux Build Service Account
8d5b593bef Merge "ASoC: msm: qdspv2: initialize struct member before being used" 2017-08-23 20:24:46 -07:00
Linux Build Service Account
c3af8979a6 Merge "ASoC: APR: initialize struct member before being used" 2017-08-23 20:24:45 -07:00
Subbaraman Narayanamurthy
07b04723a6 leds: qpnp-wled: Cap the lower limit of brightness level
As per the hardware documentation, operating limits of WLED is
from 0.4% to 100%. Cap the lower limit to 0.4% to ensure proper
operation.

Change-Id: I7ee2684ea2186d4fdda5cea9a4d421b429a6d4fd
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-08-23 18:20:05 -07:00
Sameer Thalappil
1b2a982b4f icnss: Do not process FW messages after Modem shutdown
During Modem graceful shutdown, QMI messages from WLAN FW can
still be delivered to host even after icnss receives Modem
shutdown notification from SSR framework. So prevent processing
any such messages from FW after Modem shutdown.

CRs-Fixed: 2095386
Change-Id: Ice21d043393b0f7b97aaccd68e1b28702cc9e393
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2017-08-23 12:57:39 -07:00
Linux Build Service Account
a5665f1625 Merge "ARM: dts: msm: Align to published memory map for sdm636" 2017-08-23 09:30:04 -07:00
Linux Build Service Account
d4c70706b7 Merge "diag: Fix possible usage of freed resource issue" 2017-08-23 09:30:03 -07:00