Commit graph

586840 commits

Author SHA1 Message Date
Yida Wang
d45e41bf0c seemp: fix code analysis issues
Fix code analysis issues related to seemp, such as, variables might
be used uninitialized, and array may use index values larger than its
size.

Change-Id: Ic537ece4d00ac3d72d679359b60999df473f8710
Signed-off-by: Yida Wang <yidaw@codeaurora.org>
2017-04-06 11:28:55 -04:00
Linux Build Service Account
c5751be200 Merge "msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR" 2017-04-05 04:05:40 -07:00
Linux Build Service Account
85cd9a2afb Merge "power: smb-lib: update USBIN_V_VOTER usage" 2017-04-05 04:05:39 -07:00
Linux Build Service Account
0645e1acd6 Merge "msm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled" 2017-04-05 04:05:37 -07:00
Linux Build Service Account
d7d5fb015b Merge "Revert "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag"" 2017-04-05 04:05:37 -07:00
Linux Build Service Account
078448a790 Merge "Input: stm: optimize the laser sensor driver" 2017-04-05 04:05:36 -07:00
Linux Build Service Account
e81f37a9e5 Merge "ARM: dts: msm: Update camera clock sources for sdm630" 2017-04-05 04:05:35 -07:00
Linux Build Service Account
61aa6bdf98 Merge "ARM: dts: msm: Add flash and OIS node to camera sensor mtp for msm8998" 2017-04-05 04:05:34 -07:00
Tharun Kumar Merugu
f31aa2780c msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR
Unmap remote heap buffer only for ADSP SSR

Change-Id: I9abff20cfdcc4588a3a377e73d38d3ea91316d25
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-04-04 22:04:41 -07:00
Ashay Jaiswal
38939b5e92 power: smb-lib: update USBIN_V_VOTER usage
The current code enables parallel charging if a high voltage
charger is seen (QC or PD) or a high current charger is seen.

This means that parallel charger could remain enabled when PD
transitions its voltage even though it has reduced the current
to 500mA. It is desirable to disable parallel charging during
such voltage transition.

So prepare for this change by first ensuring that only a QC
charger votes for USBIN_V_VOTER. The PD charger, even while
operating at higher voltages will need to depend on USBIN_I_VOTER,
just like a simple DCP charger, to enable parallel charger.

CRs-Fixed: 2014572
Change-Id: I03dfcff44b30b06918ebf176043873fb141f485f
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-04-05 10:01:08 +05:30
Linux Build Service Account
26db194916 Merge "defconfig: msm: Enable CONFIG_UID_CPUTIME flag" 2017-04-04 20:07:31 -07:00
Linux Build Service Account
617c68c493 Merge "mmc: core: prefer SDR50 mode over DDR50 for SD card" 2017-04-04 20:07:31 -07:00
Linux Build Service Account
b742552ee2 Merge "ASoC: msm: qdsp6v2: Add support for 7 channel mapping" 2017-04-04 20:07:30 -07:00
Linux Build Service Account
0136ee2462 Merge "mmc: core: Increase the runtime PM reference count in try_claim_host" 2017-04-04 20:07:29 -07:00
Linux Build Service Account
7ee506fbe9 Merge "msm: kgsl: Remove incorrect check to cap AB vote to IB vote" 2017-04-04 20:07:28 -07:00
Linux Build Service Account
23b57af0a3 Merge "msm: gsi: continue probe on ipc log failure" 2017-04-04 20:07:27 -07:00
Linux Build Service Account
c0dabb7776 Merge "msm: kgsl: Disable memory retention for core clock before entering SLUMBER" 2017-04-04 20:07:27 -07:00
Linux Build Service Account
8c6ab57348 Merge "mmc: core: Remove unused variable cached_ext_csd" 2017-04-04 20:07:26 -07:00
Linux Build Service Account
54b3c86290 Merge "ARM: dts: msm: Add dt support for platforms with audio over USBC" 2017-04-04 20:07:25 -07:00
Linux Build Service Account
8df5bc2d7e Merge "block: Make del_gendisk() safer for disks without queues" 2017-04-04 20:07:24 -07:00
Linux Build Service Account
0802e8d62f Merge "scsi: ufs: scale up the gear in 2 steps" 2017-04-04 20:07:23 -07:00
Linux Build Service Account
c43712c4db Merge "drivers/base: cpu: Add node for core control isolation" 2017-04-04 20:07:22 -07:00
Linux Build Service Account
fb11ce47de Merge "ASoC: msm: qdsp6v2: add route for TERT_TDM_RX_4 playback" 2017-04-04 20:07:21 -07:00
Tony Truong
23764aabce msm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled
When Stage 1 SMMU is enabled, the QGIC doorbell address needs to
be mapped or else there will be a translation fault when an endpoint
tries to trigger an interrupt via MSI. PCIe host driver will map
this address on behalf of the client.

Change-Id: I7fdbe62daeb5dbecc459e4d9bc7832785f5b9fb7
Signed-off-by: Tony Truong <truong@codeaurora.org>
2017-04-04 17:26:19 -07:00
Tony Truong
f83b25b95d msm: pcie: update teardown sequence for PCIe MSI interrupt
Update the teardown sequence for PCIe MSI to support
multiple endpoints.

Change-Id: I1fbdb840bf3677e30d4d27a50503c5cc70ece272
Signed-off-by: Tony Truong <truong@codeaurora.org>
2017-04-04 12:53:35 -07:00
Linux Build Service Account
28e87e960f Merge "pinctrl: lpi: Avoid initial SSR notifications at bootup" 2017-04-04 12:10:28 -07:00
Linux Build Service Account
ede6277d8b Merge "qcom: smb-lib: disable VCONN operations for micro USB mode" 2017-04-04 12:10:27 -07:00
Linux Build Service Account
48912ce0ae Merge "wil6210: remove HALP voting in debugfs ioblob" 2017-04-04 12:10:26 -07:00
Linux Build Service Account
835bd1f84a Merge "ASoC: msm: support 5 and 7 channel for TDM hw param" 2017-04-04 12:10:25 -07:00
Linux Build Service Account
025198c382 Merge "ASoC: msm: Fix mute on speaker in VoWLAN calls" 2017-04-04 12:10:23 -07:00
Rohit Kumar
e90af32a6f ASoC: msm: qdsp6v2: Add support for 7 channel mapping
Add support for 7 channel mapping in asm to support
7 channel playback.

CRs-Fixed: 1114041
Change-Id: I0daf306d4495d3966406d05fc6328b2956a2d11f
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
2017-04-04 11:53:31 -07:00
Veerabhadrarao Badiganti
26e54a44f6 mmc: core: Increase the runtime PM reference count in try_claim_host
Runtime PM reference count is being increased in mmc_claim_host() and
is decreased in mmc_release_host(). This reference count is kept
during the complete cycle of a claim -> release host.

Same need to be done even in mmc_try_claim_host() as well. Increase
the runtime PM reference count by invoking pm_runtime_get_sync() from
mmc_try_claim_host() upon first successful claim.

Without this change the runtime PM reference count goes for a toss
since count is not getting incremented in mmc_try_claim_host() but is
getting decremented in mmc_release_host().

Change-Id: I77836875b4700a4bf3dbde2bf1abdf2ad36c4cac
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-04-04 17:00:02 +05:30
Linux Build Service Account
4c332132fc Merge "ASoC: mbhc: Modify special headset detection" 2017-04-04 03:08:17 -07:00
Linux Build Service Account
c5537150f9 Merge "ASoC: msm-lsm-client: cleanup ioctl functions" 2017-04-04 03:08:16 -07:00
Linux Build Service Account
4fbb03737f Merge "ASoC: wcd934x: Fix sequence for efuse sensing" 2017-04-04 03:08:15 -07:00
Linux Build Service Account
f0677827e0 Merge "drivers: soc: apr: remove GLINK_TX_REQ_INTENT flag in apr write" 2017-04-04 03:08:14 -07:00
Linux Build Service Account
ac9a1d1c26 Merge "ARM: dts: msm: add support for secondary TDM on msm8996 adp/cdp" 2017-04-04 03:08:13 -07:00
Linux Build Service Account
044432bd42 Merge "ARM: dts: msm: add support for secondary MI2S on msm8996 adp/cdp" 2017-04-04 03:08:13 -07:00
Linux Build Service Account
fb45b11026 Merge "msm: mdss: Validating data values before passing on as operand" 2017-04-04 03:08:11 -07:00
Linux Build Service Account
e62dc3df39 Merge "msm: thermal-dev: Protect IOCTL from race condition" 2017-04-04 03:08:10 -07:00
Linux Build Service Account
be929723bd Merge "msm: ipa3: fix Q6 statuses exception path" 2017-04-04 03:08:09 -07:00
Linux Build Service Account
c07dd44bb6 Merge "mhi: mhi_uci: redesign mhi_uci driver" 2017-04-04 03:08:08 -07:00
Linux Build Service Account
a2440d7fa4 Merge "mhi: core: add support for subsystem restart and shutdown" 2017-04-04 03:08:07 -07:00
Linux Build Service Account
123020a779 Merge "usb: dwc3: Use high priority worker as bottom half handler" 2017-04-04 03:08:04 -07:00
Linux Build Service Account
cd2915d470 Merge "ath10k: add qmi service for snoc wlan enable and disable" 2017-04-04 03:08:02 -07:00
Linux Build Service Account
d8d96f71f3 Merge "soc: qcom: service-locator: Return in case of no matching domains found" 2017-04-04 03:08:01 -07:00
Linux Build Service Account
90a7e429e6 Merge "clk: msm: clock-gcc-8998: Update parent src for qup_spi/uart_apps clocks" 2017-04-04 03:08:01 -07:00
Linux Build Service Account
7d517eef8f Merge "CHROMIUM: usb: gadget: configfs: Fix KASAN use-after-free" 2017-04-04 03:08:00 -07:00
Jan Kara
70c8d6d632 block: Make del_gendisk() safer for disks without queues
commit 165a5e22fafb "block: Move bdi_unregister() to del_gendisk()"
added disk->queue dereference to del_gendisk(). Although del_gendisk()
is not supposed to be called without disk->queue valid and
blk_unregister_queue() warns in that case, this change will make it oops
instead. Return to the old more robust behavior of just warning when
del_gendisk() gets called for gendisk with disk->queue being NULL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Tested-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Git-commit: 90f16fddcc2802726142b8386c65ccb89f044613
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
Change-Id: I5ae377b2ace64d7a133979e656beb0eba45abc09
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-04-04 14:12:56 +05:30
Deepak Kumar
c1de946ab2 msm: kgsl: Disable memory retention for core clock before entering SLUMBER
Memory retention is needed only for NAP state but not for SLUMBER state.
Disables memory retention for core clock before entering SLUMBER to save
power.

Change-Id: I64a5ecec6fc90d662da8d9d793860e56b0c6473f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-04-04 14:09:52 +05:30