Commit graph

593152 commits

Author SHA1 Message Date
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
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
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
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
Rahul Sharma
f062b231a1 msm: ais: Fix crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG is called
The invalid slave_info is used by msm_sensor_driver_probe.
This causes crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG is
called repeatedly.

CRs-fixed: 2090483
Change-Id: I467c0a19d84658fb33da9677dcb904ebf49e4800
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-08-23 05:15:12 -07:00
Ghanim Fodi
6a2c8df14c msm: ipa3: Load IPA FW using PIL for MDM devices
Change IPA firmware loading on MDM devices to use
Linux PIL instead of manual loading.
Loading with PIL is more secure. Firmware needs
to be signed and then authenticated by Trust Zone.

Change-Id: If8bda76795dcd000327c6f6345a9b38474b609fd
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-08-23 03:14:16 -07:00
Vijay kumar Tumati
59361de692 msm: camera: Fix null pointer exception in regulator disable
Adding a NULL check before disable regulator to make sure
that its not released before

Change-Id: I21ff1649db3e00588f1c320418fca270bc0264bc
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
2017-08-23 02:15:41 -07:00
Amir Samuelov
f7c2ad0fb8 spcom: return POLLERR when poll() has error
spcom_device_poll() return POLLERR rather than -EINVAL.

Change-Id: Ifce0fa9c6a0a5136ae1d109543a9345ad77359bf
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-08-23 00:02:48 -07:00