Commit graph

575111 commits

Author SHA1 Message Date
Linux Build Service Account
e8afdbad3e Merge "ASoC: msm: Add Buffer overflow check" 2016-09-12 14:42:27 -07:00
Linux Build Service Account
a1bf0348c4 Merge "input: touchscreen: add support for IT7260 touch controller series" 2016-09-12 14:42:27 -07:00
Linux Build Service Account
023310d9d6 Merge "input: touchpanel: enable protocol B for skuf CTP driver" 2016-09-12 14:42:25 -07:00
Linux Build Service Account
0ac10439ff Merge "input: touchpanel: Add FB notifications support to GT9xx" 2016-09-12 14:42:24 -07:00
Linux Build Service Account
bfb9253e65 Merge "USB: usbfs: fix potential infoleak in devio" 2016-09-12 14:42:24 -07:00
Linux Build Service Account
f1a35480ec Merge "clk: msm: clock: Update the supported frequencies for hmss_ahb_clk_src" 2016-09-12 14:42:22 -07:00
Linux Build Service Account
50af22ee1c Merge "clk: msm: gcc-cobalt: Add support for gcc_aggre1_ufs_axi_hw_ctl_clk" 2016-09-12 14:42:22 -07:00
Linux Build Service Account
43f14d2d08 Merge "msm: mdss: enable VBIF write_gather for WB2" 2016-09-12 14:42:21 -07:00
Linux Build Service Account
fdc80ae02b Merge "ARM: dts: msm: use QCOM replicator for msmcobalt" 2016-09-12 14:42:20 -07:00
Linux Build Service Account
172717f1c7 Merge "coresight-tpda: add support to generate FREQTS packets" 2016-09-12 14:42:19 -07:00
Linux Build Service Account
dfad0f9a64 Merge "coresight-tpda: skip writing '0' to FREQREQ_VAL register" 2016-09-12 14:42:19 -07:00
Subash Abhinov Kasiviswanathan
6d58572de9 net: rmnet_data: Define the skb recycle handler for transports
rmnet_data currently frees incoming memory when de-aggregating
large incoming aggregated packets. This may introduce additional
overhead in the memory allocator. Add a handler as part of the
rx_handler_data to recycle the skb's. This handler needs to
defined within the specific transport driver. If the recycle
handler is not implemented by the transport, rmnet_data will
free the skb (default behavior).

CRs-Fixed: 1048396
Change-Id: I14b929d78c87ced26cff3c32876d2eec5de33350
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-09-12 14:05:12 -06:00
Deepak Katragadda
56a1dc1746 clk: msm: clock: Register the mnoc_maxi_clk after the vmem_maxi_clk
Registering the vmem_maxi_clk after the mnoc_maxi_clk leads to it
being added to the handoff list after its FSM clock. This results
in the mnoc_maxi_clk being stuck ON when it's disabled as part of
clock_late_init. Hence, change the order of registering these clocks.

CRs-Fixed: 1065813
Change-Id: If076545f9557f1be2633f72fca5b9e8096b6501b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-12 11:32:06 -07:00
Venkat Gopalakrishnan
77c50a22e8 scsi: ufs: dump hw regs on link failures
Dump host state, power info and host/vendor specific registers
on link failures. This provides useful info to debug the failures.

Change-Id: I76a4ea56f3aee6a51a5930381ad8d12ca8b43551
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:30:36 -07:00
Venkat Gopalakrishnan
b1fe3eedb2 scsi: ufs-qcom: dump additional testbus registers
Change testbus default config, dump additional testbus
registers and ufs phy regs along with other debug vendor
specific registers. These additional info are useful
in debugging link related failures.

Change-Id: Icfa44def6d461a5782f7f57cefb78ed5e57a50d0
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:30:27 -07:00
Venkat Gopalakrishnan
fc8a047e31 phy: qcom-ufs-qmp-v3: add ops to dump phy regs
It's useful to dump phy registers on failure to debug
link issues. Export a new ops for the ufs driver to invoke
during link failures.

Change-Id: Id3a9c9085375b783d97e7f2ffd3e11ec469aedb9
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-09-12 11:19:39 -07:00
Abhijeet Dharmapurikar
3850d272a6 qcom-charger: handle get prop errors graciously
Currently the code passes on the error value it receives from the
individual property getters. This causes the read of uevent to fail.

Instead convert those errors to -ENODATA which the power supply
framework handles graciously and keeps the read of uevent entry from
failing. It simply skips reporting that property in uevent.

Change-Id: I997197c7c7315769e49342da7973a9f79ab54c80
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-09-12 11:08:54 -07:00
Yuanyuan Liu
d44c09c2b9 icnss: Add support of monitoring vph_pwr
Add support of monitoring runtime phone power. Driver configures two
threshold values and receives notifications when phone power
crosses either high or low threshold. Driver then sends indication to
WLAN FW, which will vote for different regulator power mode based on the
indication.

CRs-Fixed: 1050198
Change-Id: I0614286f1b2a3446d40ad4d82e24a6e8f91069e1
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 10:04:37 -07:00
Yuanyuan Liu
cc9afa974c ARM: dts: msm: Add VADC node for ICNSS in msmcobalt
Add VADC node in ICNSS for reading and monitoring
runtime phone power.

CRs-Fixed: 1050198
Change-Id: I94278e4a972e4a1a2cdb162482a589743992ca3c
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 10:00:00 -07:00
Yuanyuan Liu
2e1727bdb4 icnss: Add debugfs entries for register read/write
Add debugfs entries for reading/writing WLAN hardware registers.
This is for runtime debugging enhancement.

CRs-Fixed: 1058506
Change-Id: Ib49adaa407d2a5d7765401fee4c8652f235c5f33
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:56:48 -07:00
Yuanyuan Liu
1947a834f5 icnss: Add support of sending athdiag read/write messages
Add support of sending athdiag read/write commands through QMI.
This enhance the runtime debugging of WLAN Hardware.

CRs-Fixed: 1038933
Change-Id: I6639ecce6c24d8b9757a98757bcc3f0cd4b2e9b2
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:55:52 -07:00
Yuanyuan Liu
b56e6e2c96 icnss: Add support of suspend_noirq/resume_noirq
Register suspend_noirq and resume_noirq for WLAN driver.
This could make sure that no wake up is pending from FW
and if initial wake up is received then failing suspend_noirq
should trigger resume.

CRs-Fixed: 1060667
Change-Id: Ib233ce66ad21819d2d62155072f0bf985a12837b
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-12 09:51:38 -07:00
Rama Krishna Phani A
64380f7fe6 ARM: dts: msm: Add SPS node for msmtriton
Add SPS module to device tree. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals.

Change-Id: I9fcf626fbbaaa4a15d88983de23910e02a9b57e8
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2016-09-12 18:00:51 +05:30
Linux Build Service Account
9c8924dbaa Merge "input: synaptics_2.6: add pinctrl support for Synaptics 2.6 driver" 2016-09-12 05:16:04 -07:00
Linux Build Service Account
bc7a35be18 Merge "ASoc: msm: qdsp6v2: Fix timestamp glitch during gapless transition" 2016-09-12 05:16:03 -07:00
Linux Build Service Account
5872e6e3e8 Merge "ARM: dts: msm: Add missing glink_pkt devices for MSMCOBALT" 2016-09-12 05:16:02 -07:00
Bingzhe Cai
4bf592770b input: touchpanel: enable protocol B for skuf CTP driver
Skuf use touch panel protocol B for touch event recognition that
needs enable this protocol in driver.

Change-Id: Ic855ed4fb0277a9bc5996bcb310db67b8ccf5c03
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 05:03:53 -07:00
Bingzhe Cai
ed6a734b04 input: touchpanel: Add FB notifications support to GT9xx
Add support for FB notifications to trigger suspend/resume
based on FB blank/unblank events.

Change-Id: I61803e3a731e047d0641e3b1ccbae58b9bd1bd89
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 05:03:47 -07:00
Bingzhe Cai
8b439ca7fa input: touchpanel: Add power control to GT9xx driver
Add power initialization  function to request internal and external
LDO depends on device tree configuration. Add power control function
to enable and disable device power.

Change-Id: If063900f8cd61c36c4b200d781c68e742cd6bbaf
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 05:03:41 -07:00
Sudhakar Manapati
9d4062a965 input: touchscreen: add support for IT7260 touch controller series
IT7260 touch controllers are capacitative touch controller ICs
with multi-touch support and can detect upto 3 fingers.

Change-Id: I20a4339639a715111a340b7a607448ec7078549e
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-09-12 17:25:58 +05:30
Amit Nischal
48c55694f1 msm: camera: Add support for reset controller framework
The current api which performs the clock reset is moved to use the reset
framework, so support the changes in camera driver for the same. The reset
framework requires to get reset handle and perform assert/deassert of the
resets.

Change-Id: I5a809e464c90c29b6f69fc0bfba67bae9a9b6551
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-09-12 03:16:33 -07:00
Mohit Aggarwal
de93e6c399 memshare: Synchronize memory allocation and free operations
Currently, on Modem SSR, memshare driver receives notification
in which it free up the allocated memory. Due to timing issue,
free is happening after allocation. This patch synchronize
these operations.

Change-Id: I464d3b82f33ccdfd0988ef33fec8414d4ab4a550
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2016-09-12 02:58:16 -07:00
Abinaya P
5d690a9685 input: Makefile: include ITE tech touch driver for compilation
Add ITE tech touch screen driver for the compilation.

Change-Id: Iee6abc583917968879a19a5e67b4db08d506c794
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2016-09-12 15:00:31 +05:30
Changmin Liu
79f23effb8 input: synaptics_2.6: add pinctrl support for Synaptics 2.6 driver
Add pinctrl support for Synaptics S2333 controller so that the irq and
pwr pins could be pulled up when probed and resumed. Furthermore, they
should be pulled down when suspended and removed.

Change-Id: If517747243a605eacd1f6ffd6d1f7c0d45d06c1b
Signed-off-by: Changmin Liu <changmil@codeaurora.org>
2016-09-12 14:40:02 +05:30
Bingzhe Cai
1f24ee5748 input: touchpanel: Add DT support for Goodix touchpanel driver
Add device tree parser to allow Goodix touchpanel driver to get
board dependent configuration from device tree.

Change-Id: I702400140130fd3b673e0e13a8dbdb7060bba881
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-12 02:04:51 -07:00
Theodore Ts'o
63004e80c8 ext4 crypto: use dget_parent() in ext4_d_revalidate()
This avoids potential problems caused by a race where the inode gets
renamed out from its parent directory and the parent directory is
deleted while ext4_d_revalidate() is running.

Change-Id: I28a1f87f236ca97ce28e876265075f1d3bcdca6a
Fixes: 28b4c263961c
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Git-commit: 3d43bcfef5f0548845a425365011c499875491b0
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-09-12 01:06:21 -07:00
Theodore Ts'o
4dfa31b4af ext4 crypto: don't let data integrity writebacks fail with ENOMEM
We don't want the writeback triggered from the journal commit (in
data=writeback mode) to cause the journal to abort due to
generic_writepages() returning an ENOMEM error.  In addition, if
fsync() fails with ENOMEM, most applications will probably not do the
right thing.
So if we are doing a data integrity sync, and ext4_encrypt() returns
ENOMEM, we will submit any queued I/O to date, and then retry the
allocation using GFP_NOFAIL.

Change-Id: Ib16510f0261275a61c2b6870503e67b4b1189bee
Google-Bug-Id: 27641567
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Git-commit: c9af28fdd44922a6c10c9f8315718408af98e315
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-09-12 01:05:34 -07:00
Xiaonian Wang
d418cf9054 input: synaptics_dsx_2.6: not reinit when spontaneous reset is detected
There is no need to reinit device when spontaneous reset is detected,
touch will recover by itself.

Change-Id: Ifb5b134d0fbeb2f55f16af8806abb9c8e51c35e0
Signed-off-by: Xiaonian Wang <xiaonian@codeaurora.org>
2016-09-11 23:25:26 -07:00
Shantanu Jain
1919671d4d input: synaptics_dsx_2.6: correct secure_touch_init function
In synaptics_dsx_2.6 touch driver, secure_touch_init tries to get
the QUP clocks for the secure touch functionality. But as these
calls are optional and TZ might get the owenership of these clocks,
this change removes the error return statement, so that the
secure touch can be initialized properly.

Change-Id: I12b5075d484cd397bfb423479589e159a2193f31
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-12 11:52:37 +05:30
Linux Build Service Account
774736d179 Merge "ARM: dts: msm: Add support for GDSCs for MSMfalcon" 2016-09-11 23:19:25 -07:00
Linux Build Service Account
a19a2ddc92 Merge "ARM: dts: msm: Fix vconn-supply typo in PMICOBALT" 2016-09-11 23:19:25 -07:00
Linux Build Service Account
34f5a9df8f Merge "ARM: dts: msm: add parallel charger io channels for MSMCOBALT" 2016-09-11 23:19:24 -07:00
Linux Build Service Account
6179dd5c5b Merge "smb138x-charger: expose charger temperature" 2016-09-11 23:19:23 -07:00
Linux Build Service Account
55d84b4e86 Merge "ARM: dts: msm: Add bus scaling for venus PIL for MSMCOBALT" 2016-09-11 23:19:22 -07:00
Linux Build Service Account
7187b69448 Merge "ARM: dts: msm: update the sound node for msmcobalt QRD" 2016-09-11 23:19:21 -07:00
Linux Build Service Account
7f1a56302b Merge "defconfig: msm: sde: Add config for SDE rotator EVTLOG debug" 2016-09-11 23:19:20 -07:00
Linux Build Service Account
e5f0209b25 Merge "msm: sde: Add EVTLOG and REG dump support for SDE rotator" 2016-09-11 23:19:20 -07:00
Linux Build Service Account
ef33877be2 Merge "pinctrl: qcom: spmi-gpio: Correct power_source range check" 2016-09-11 23:19:15 -07:00
Linux Build Service Account
8949cdb2b0 Merge "pinctrl: qcom: spmi-gpio: Add dtest route for digital input" 2016-09-11 23:19:14 -07:00
Linux Build Service Account
f31b1001e1 Merge "pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype" 2016-09-11 23:19:13 -07:00