Commit graph

583344 commits

Author SHA1 Message Date
Ashay Jaiswal
b5a4cf7bb6 power: qcom-charger: Add support for software INOV
Hardware autonomous INOV does adapter's output voltage
manipulation only based on the input limited state of main
charger. This works well with MID-MID parallel configuration
but with USBIN-USBIN parallel configuration parallel charger's
input limited state also plays role for INOV manipulations.
Thus disable hardware based autonomous INOV and add support
for software based INOV for USBIN-USBIN configuration.

Note that if authentication is disabled, the hw assumes QC3.0 and
if the autonomous bit is enabled, it issues increment/decrement pulses.
This happens even when QC3.0 has not been actually authenticated.

Change-Id: I397acb558c9ba3b6fc7d7b974d64459f278697fd
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-18 10:11:06 +05:30
Ashay Jaiswal
58ca30db67 power: qcom-charger: add support for internal and external rsense
USBIN-USBIN parallel configuration can have either an internal current
sensing via main charger's BATFET or an external current sense resistor.
The FCC split between main and parallel charger differs based on current
sensing mode, add support to differentiate internal/external sensing and
the FCC split is done as follows:
- Internal Sensing: Main charger configure to full FCC
		    Parallel charger configured to 50% FCC.
- External sensing: Main charger configure to 50% FCC
		    Parallel charger configured to 50% FCC.

Change-Id: Ia0c6234ce6f62af460edd3c4f56e34810899b3e3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:41:34 +05:30
Tony Truong
a395a07088 msm: pcie: add bounds check for debugfs register write
Via debugfs nodes, users have the option to read and write to
any PCIe register. To ensure clients do not access registers
outside the PCIe range, add checks to validate the offset clients
provide.

Change-Id: Ia35cd04c57f01c21a47962be596bca395b5ca247
Signed-off-by: Tony Truong <truong@codeaurora.org>
2017-02-17 20:07:04 -08:00
Ashay Jaiswal
fb2e7e9869 power: qcom-charger: fix minor bugs in parallel path
"icl_reduction_ua" is not updated to new slave ICL value after
ICL split, update the variable.

Change-Id: I944fddfda1aa2c359785d1a3155ac22ebe91fa65
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:29:20 +05:30
Ashay Jaiswal
6477a9e902 power: qcom-charger: add a workaround flag for QC AUTH interrupt
In PM660 "QC authentication done" IRQ is a pulse and thus it
does not require workaround to disable this IRQ after authentication
completes. Add a workaround flag to enable this only for PMI8998.

Change-Id: I766219df38fc4954f5208d6db323b680e8e5fafd
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:27:14 +05:30
Mayank Rana
ccb139843c usb: gsi: Capture USB GSI endpoint operations
In some cases it has been observed that after sending STARTXFER
command with USB GSI IN endpoint, USB controller is accessing zero
address resulting into bus error. This change captures USB GSI
operation sequence in debug buffer which may help to understand
race condition in terms of USB gadget events and USB GSI endpoint
operations.

Change-Id: Ia46877bb92ea0cc1d5f3712e5c70bb44232d5cfe
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2017-02-17 17:49:44 -08:00
Nicholas Troast
9b2bacf290 smb138x-charger: use SW based comparison for connector health
The hardware based threshold comparison requires thermal regulation to
be active. This is a problem for layouts which connect USBIN rather than
MID to the SMB138X since the thermal regulation will throttle the ICL in
the USBIN case.

Read the connector temperature ADC and compare against the thresholds
in software instead of enabling thermal regulation.

Change-Id: I9ecda675947fc6c82a8c8b67d0c9d930365ad02e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-17 14:42:40 -08:00
Al Viro
e26164ecb1 net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfrom
Change-Id: I4bbd1bd2b661bc21aa0fdcc436b09b3bd23803be
Cc: stable@vger.kernel.org # v3.19
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 4de930efc2
Git-repo: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
[dcagle: Resolve trivial merge conflicts]
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
2017-02-17 10:18:36 -08:00
Linux Build Service Account
96b6f68843 Merge "ARM: dts: msm: move ref-clk from phy to ufs node in sdm660" 2017-02-17 07:33:07 -08:00
Linux Build Service Account
b531ffe5d2 Merge "ARM: dts: msm: Add qcom,gpu-limit property for sdm660" 2017-02-17 07:33:06 -08:00
Linux Build Service Account
cbbefa3a42 Merge "mm📷 Do not detach isp node during smmu detach." 2017-02-17 07:33:05 -08:00
Linux Build Service Account
a384da9533 Merge "msm: cpp: Call iommu detach in the error scenarios for secure case" 2017-02-17 07:33:05 -08:00
Linux Build Service Account
7fa84a1a06 Merge "block: protect iterate_bdevs() against concurrent close" 2017-02-17 07:33:04 -08:00
Linux Build Service Account
c82e967d8a Merge "drm/msm/sde:: fix optional property parsing for qseed and csc properties" 2017-02-17 07:33:03 -08:00
Linux Build Service Account
3fea30d6d9 Merge "tracing: Modify saved_tgids size for change in saved_cmdline_size" 2017-02-17 07:33:03 -08:00
Linux Build Service Account
d62cdc2aca Merge "soc: qcom: ramdump: Remove page alignment during ramdump collection" 2017-02-17 07:33:02 -08:00
Linux Build Service Account
56b4a5d469 Merge "ARM: dts: msm: update correct default OT settings for mdss" 2017-02-17 07:33:01 -08:00
Linux Build Service Account
82dd855c0d Merge "ARM: dts: msm: Add pmic bring up changes for SDM630 QRD" 2017-02-17 07:32:59 -08:00
Linux Build Service Account
8443ddbedd Merge "soc: qcom: pil: Allow the MBA memory to be dynamic or a carveout" 2017-02-17 07:32:58 -08:00
Rakesh Pillai
bdd8861bc0 ath10k: Add support for shadow register for WNC3990
WCN3990 needs shadow register write operation support
for copy engine for regular operation in powersave mode.
Add support for copy engine shadow register write in
datapath tx for WCN3990

CRs-Fixed: 2008518
Change-Id: Ie90ff74984021fa47070e08b2fc53ad5da46cf35
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-17 06:36:37 -08:00
Tirupathi Reddy
46f11488b4 ARM: dts: msm: fix the compatible string used for GFX LDO CPR for sdm630
Modify the compatible string used for GFX LDO CPR for sdm630 to apply
sdm630 specific configuration.

CRs-Fixed: 2007621
Change-Id: I883a004c8731654f5752194d66c971a22ea723ef
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-17 16:06:08 +05:30
Shankar Ravi
349291cf4b ARM: dts: msm: Enable camera for sdm630
1. Add FRONT, BACK, AUX camera nodes.
2. Add CSID, CSIPHY,ISPIF, VFE, JPEG, CPP, nodes.
3. Add GPIO configuration in pinctrl.
4. Add support for upstream clock config.
5. Add sensor VAF to LDO8 with min vote of 2.8.

Change-Id: I49f1ec1941a080d85812309c7a8cce7302c49e25
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2017-02-17 14:42:30 +05:30
Vikash Garodia
23ed5efc60 ARM: dts: msm: Fix DCVS load for SDM660
DCVS table specifies the low and high load interms
of mbs per sec. Clock frequency is derived from
this load alongwith cycles required per mb. For
starlord, the DCVS low load was incorrect which
made the decoder session to run in SVS instead
of SVS+. The change now fix it to proper load.

Change-Id: I46dd772aa349b94a75472477e24cabe80c088165
CRs-Fixed: 2007776
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2017-02-17 13:22:48 +05:30
Rajesh Kemisetti
4ead249b46 ARM: dts: msm: Correct the number of bus frequency levels for SDM630
Update the proper number of bus frequency levels for SDM630 GPU.

Change-Id: Id00a47440dd766493a1de6da9cb0c218b1fa8eac
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-17 11:55:02 +05:30
Maya Erez
03c7db2c48 wil6210: convert symbolic permissions to octal permissions
Symbolic permissions are no longer recommended.
This patch changes the symbolic permissions in wil6210 driver
to octal permissions.

Change-Id: I4d762724938a6c615698ea92bd668f0b4ee6963c
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 78484c44e4b305b23cbfcfb9257ed96c8753e86d
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:21:18 +02:00
Lior David
70e30dddfe wil6210: option to override A-BFT length in start AP/PCP
Add an option to specify and override the A-BFT length when
starting an AP/PCP. See IEEE P802.11-2016, 10.38.5.
The abft_len must be set before starting AP/PCP. It is only
needed for diagnostics and certification.

Change-Id: Idb7a72b1a3c87c0ca085ca55a9e2507d14eecbdb
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: c3bfea05a6fdecee03c7cf08f5bfee6aa0645cee
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:20:31 +02:00
Lior David
8a35beec2b wil6210: report association ID (AID) per station in debugfs
Add reporting of the association ID (AID) for each station
as part of the stations file in the debugfs.
Valid AID values are 1-254. 0 is reported if the AID
is unknown or not reported by firmware.

Change-Id: Ifa79ccfa91d60eb0aeada0c849f8694d27c3b333
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 9d865ee232eccf51950b16f223f4130f7dc06e0f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:19:38 +02:00
Lior David
fde90189b8 wil6210: align to latest auto generated wmi.h
Align to latest version of the auto generated wmi file
describing the interface with FW.

Change-Id: I54bacf35257380fd12b3d6e47bcc3e66d46f66dc
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: a52fb913aee97149f5986fd001a424e68c096d19
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:18:43 +02:00
Lior David
9041294da6 wil6210: fix for broadcast workaround in PBSS
Currently we do not have full support for broadcast from
a station inside a PBSS network.
We have a workaround where instead of broadcast we do a
unicast to every known station in the PBSS.
This workaround was performed only for P2P clients.
This fix will perform the broadcast workaround also for a
regular station inside a PBSS.

Change-Id: I3153727b3c928b4ea4cfae59f1df1d36adb9d1bb
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: a895cb8b990c12945b70f70d9e0798d587d507c0
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:17:25 +02:00
Dedy Lansky
5e7365ef21 wil6210: support new WMI-only FW capability
WMI_ONLY FW is used for testing in production. It cannot be used for
scan/connect, etc.
In case FW reports this capability, driver will not allow interface up.

Change-Id: Ifad411ba3fff136107ee73691008de3d013853b5
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 0d2370e939acca97b5e1abc1aedd47c5c9a5f500
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:16:31 +02:00
Lazar Alexei
d03a26f9f1 wil6210: remove __func__ from debug printouts
__func__ is automatically added to printouts by dynamic debug
mechanism and by wil_info/wil_err macros.
Remove __func__ from debug printouts to avoid duplication.

Change-Id: I3c8f8088bbff17954eb774b6dcd64b6dfd2de932
Signed-off-by: Lazar Alexei <qca_ailizaro@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: af3db60a30331d3a37b534570bc52dd64a7c0e5d
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
2017-02-17 08:15:03 +02:00
Amit Nischal
6d3288e6d5 clk: qcom: Add support to list registers for slew PLL
For slew PLL, register content is required to be displayed
for debug purpose. Add support for the same by adding
list_register clock ops to clk_alpha_pll_slew_ops.

Change-Id: I806edd4d62ff00a4b36d17942afd746b03616534
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-02-17 09:16:24 +05:30
Shiraz Hashim
a69e2f14db defconfig: msm: Enable BALANCE_ANON_FILE_RECLAIM for sdm660
BALANCE_ANON_FILE_RECLAIM treats anonymous and file backed
pages equally while performing memory reclaim.

It is already enabled for sdm660 arm64 perf defconfig.
Enable it for rest of sdm660 related defconfigs.

Change-Id: I3914bbdbc162cce020d6265f8297ac728621c84d
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-17 08:58:48 +05:30
Pavankumar Kondeti
1c90dff39b core_ctl: fix bug in assignment of not_preferred tunable values
Cluster's lru list is iterated while storing the not_preferred
tunable values. The position of a CPU in this list gets changed
when it is isolated. This results in an incorrect assignment of
user input. Fix this by iterating the CPUs serially in a cluster.

Change-Id: I7235ca981b0fd82488034ab8d1880bb7498c9a72
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-17 08:27:21 +05:30
Hemant Kumar
9f58f6a781 USB: gadget: Replace %pK with %p
commit 5f8f42688e ("usb: gadget: replace %p with %pK") modifies
the %pM/m (MAC address format specifier) as %pKM/m in
get_ether_addr_str() API. As a result this API returns zeroed out
mac address. This API is used to show mac address of usb network
interface using configfs attribute of function drivers. Hence
replace %pK with %p in this helper API to show correct mac address
information.

Change-Id: Id3a0d779f458d2ce697cd8fe88f348380cf44a8f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-02-16 18:37:47 -08:00
Venkatesh Yadav Abbarapu
baa152a3c8 defconfig: msm: Enable the config SYSTEM_TRUSTED_KEYS
Enable SYSTEM_TRUSTED_KEYS and add certification for x509 signing
for system.

CRs-Fixed: 1116507
Change-Id: I073c1cf8bb1e9bcdee11975e5d072db9c462ee13
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2017-02-16 18:08:26 -08:00
Asutosh Das
6b46b13b42 ARM: dts: msm: increase the system pm levels in sdm660
Increasing the system pm-level would ensure that Vccq2 &
ref-clk supply are turned off during system suspend.

Change-Id: I22b42d971266c6cb67f1f15e2b48c3f111c22ac8
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-02-17 07:36:32 +05:30
Jeevan Shriram
d1bb84d765 certs: dm-verity: add keyring certification for verity
Enable SYSTEM_TRUSTED_KEYS and add certification for x509 signing for
system.

CRs-Fixed: 1116507
Change-Id: I01298d75da0ff9faee2d01118107d53e9a2aef8a
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2017-02-16 17:58:04 -08:00
Asutosh Das
64db44d65e ARM: dts: msm: move ref-clk from phy to ufs node in sdm660
This patch moves the ref-clk node from the phy node
to the ufs node.
This is done so as to turn-off the ref-clk supply when
the link is off.

Change-Id: I17139340f2208b67b9a2d99419ac6ce92c06dbe5
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-02-17 07:21:52 +05:30
Asutosh Das
fd9bba4caa phy: qcom-ufs: parse ref-clk details prior to resource request
Do not request a resource if the ref clk regulator details are
not defined in ufs phy node.

Change-Id: I10eb426d4407388681340cb71fe9e761794dc298
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-02-17 07:12:00 +05:30
Asutosh Das
c1c02eecad scsi: ufs-qcom: Control ufs-ref-clk-supply from host node
UFS device requires a reference clock for
operating in HS (High-speed) gears. This device
reference clock is provided by the dedicated SoC pad
on QCOM platforms. This rail needs to be powered by
1.2v power pads.
Currently, that supply is being controlled
in the ufs phy driver. Phy driver doesn't have any
knowledge of the system-pm state. Hence, it can't
selectively toggle this supply.

Hence, move the control of this supply to ufs driver.
The host driver has the knowledge of system-pm state &
is better equipped to toggle this supply.

Change-Id: Ia19c6e7d9ffb856a01d31ab56ea97a7bb1affae6
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-02-17 07:03:04 +05:30
Jack Pham
35ab08e7cb usb: pd: Skip decreasing current when requesting the same PPS
When a PPS PDO is selected and a request is made for the same
PDO at a different voltage, there is no need to suspend the
current draw. This allows for more efficient charging as the
charger does not have to ramp down / ramp back up its current
limit.

Change-Id: I2e5af41788b5297204a3f603a5375ec78020c919
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-02-16 16:06:41 -08:00
Rabin Vincent
1e64d58846 block: protect iterate_bdevs() against concurrent close
commit af309226db916e2c6e08d3eba3fa5c34225200c4 upstream.

If a block device is closed while iterate_bdevs() is handling it, the
following NULL pointer dereference occurs because bdev->b_disk is NULL
in bdev_get_queue(), which is called from blk_get_backing_dev_info() (in
turn called by the mapping_cap_writeback_dirty() call in
__filemap_fdatawrite_range()):

 BUG: unable to handle kernel NULL pointer dereference at 0000000000000508
 IP: [<ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
 PGD 9e62067 PUD 9ee8067 PMD 0
 Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
 Modules linked in:
 CPU: 1 PID: 2422 Comm: sync Not tainted 4.5.0-rc7+ #400
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996)
 task: ffff880009f4d700 ti: ffff880009f5c000 task.ti: ffff880009f5c000
 RIP: 0010:[<ffffffff81314790>]  [<ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
 RSP: 0018:ffff880009f5fe68  EFLAGS: 00010246
 RAX: 0000000000000000 RBX: ffff88000ec17a38 RCX: ffffffff81a4e940
 RDX: 7fffffffffffffff RSI: 0000000000000000 RDI: ffff88000ec176c0
 RBP: ffff880009f5fe68 R08: 0000000000000000 R09: 0000000000000000
 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88000ec17860
 R13: ffffffff811b25c0 R14: ffff88000ec178e0 R15: ffff88000ec17a38
 FS:  00007faee505d700(0000) GS:ffff88000fb00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
 CR2: 0000000000000508 CR3: 0000000009e8a000 CR4: 00000000000006e0
 Stack:
  ffff880009f5feb8 ffffffff8112e7f5 0000000000000000 7fffffffffffffff
  0000000000000000 0000000000000000 7fffffffffffffff 0000000000000001
  ffff88000ec178e0 ffff88000ec17860 ffff880009f5fec8 ffffffff8112e81f
 Call Trace:
  [<ffffffff8112e7f5>] __filemap_fdatawrite_range+0x85/0x90
  [<ffffffff8112e81f>] filemap_fdatawrite+0x1f/0x30
  [<ffffffff811b25d6>] fdatawrite_one_bdev+0x16/0x20
  [<ffffffff811bc402>] iterate_bdevs+0xf2/0x130
  [<ffffffff811b2763>] sys_sync+0x63/0x90
  [<ffffffff815d4272>] entry_SYSCALL_64_fastpath+0x12/0x76
 Code: 0f 1f 44 00 00 48 8b 87 f0 00 00 00 55 48 89 e5 <48> 8b 80 08 05 00 00 5d
 RIP  [<ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
  RSP <ffff880009f5fe68>
 CR2: 0000000000000508
 ---[ end trace 2487336ceb3de62d ]---

The crash is easily reproducible by running the following command, if an
msleep(100) is inserted before the call to func() in iterate_devs():

 while :; do head -c1 /dev/nullb0; done > /dev/null & while :; do sync; done

Fix it by holding the bd_mutex across the func() call and only calling
func() if the bdev is opened.

Change-Id: I3385298e24d9a6121b7b0e35d4f8be15091f3fb4
Fixes: 5c0d6b60a0 ("vfs: Create function for iterating over block devices")
Reported-and-tested-by: Wei Fang <fangwei1@huawei.com>
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: af309226db916e2c6e08d3eba3fa5c34225200c4
Git-repo: git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-02-16 14:57:53 -08:00
Abhinav Kumar
4ad201445b drm/msm/sde:: fix optional property parsing for qseed and csc properties
With commit <5aad7456b5a5aeea93a437ae46680a97d089fe51> (<drm/msm/sde:
parse csc type dtsi entry to select valid csc>), support for
CSC is added to 8998 target. However this is an optional property for
some targets. Fix the parsing logic to not fail in case of missing
optional properties.

CRs-Fixed: 2002381
Change-Id: Idfe750d3afbd0d88d89ffa873deae130a24b2827
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
2017-02-16 13:23:25 -08:00
Linux Build Service Account
7066afbbe9 Merge "drm/msm/sde: signal pending PAGE_FLIP events" 2017-02-16 13:09:28 -08:00
Nicholas Troast
ad819206fd ARM: dts: msm: add connector temp iio channel for SMB138X
SMB138X uses the connector temperature. Add it.

Change-Id: I3bb6769a1846fd29e5cca27d8589ed90de003dd3
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-16 12:40:29 -08:00
Sreelakshmi Gownipalli
a4c01a6874 diag: Register diag glink channels for only WDSP
Register diag channels with glink only for WDSP and also
queue a work to handle remote connect and disconnect events
for diag glink channels.

Change-Id: Icc2b42a8756412ecb34e40f26498f1b3ee45884a
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2017-02-16 10:57:45 -08:00
Linux Build Service Account
f44d9e364a Merge "ARM: dts: msm: update CPU efficiency values for sdm660" 2017-02-16 03:05:22 -08:00
Linux Build Service Account
2081c63810 Merge "proc: fix conversion of oom_score_adj to oom_adj" 2017-02-16 03:05:21 -08:00
Linux Build Service Account
b2a4c95db8 Merge "USB: gadget: Replace %pK with %pM" 2017-02-16 03:05:20 -08:00