Commit graph

581379 commits

Author SHA1 Message Date
Linux Build Service Account
c13aae3157 Merge "smb-lib: fix Type-C detection after sink removal" 2017-01-21 05:01:23 -08:00
Linux Build Service Account
9b0b7adacb Merge "qseecom: release memory when failed to get fw size" 2017-01-21 05:01:22 -08:00
Linux Build Service Account
25c683b528 Merge "Block: Add support to measure bio latencies" 2017-01-21 05:01:21 -08:00
Linux Build Service Account
adb2b7a2ff Merge "usb: phy: snps: fix copyright information" 2017-01-21 05:01:21 -08:00
Linux Build Service Account
345e3446ea Merge "iommu: arm-smmu: Allow configurations with zero clocks" 2017-01-21 05:01:20 -08:00
Linux Build Service Account
24f914dbea Merge "clk: msm: clock-debug: acquire prepare lock during measurement" 2017-01-21 05:01:18 -08:00
Patrick Daly
2829116b1e iommu: arm-smmu: Allow configurations with zero clocks
If no clocks are present in devicetree, ensure that smmu->num_clocks is
set to zero instead of an error value.

Change-Id: Ibc3ede250419dd0235f3aa481218e3a91cdb3630
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2017-01-20 16:02:05 -08:00
Nicholas Troast
ba0441736d smb-lib: fix Type-C detection after sink removal
A misplaced return statement causes an early return from disabling OTG.

If OTG is enabled when a source is attached then Type-C detection will
fail. Therefore, OTG should never be blocked from being disabled.

Remove all of the early returns that could potentially block the
register write which disables OTG.

Change-Id: I4645210233c7490cf3e1b8f6a629fec60399b250
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-01-20 13:52:10 -08:00
Linux Build Service Account
1004ecce48 Merge "soc: qcom: service-notifier: change log level for UP/DOWN indications" 2017-01-20 13:48:35 -08:00
Linux Build Service Account
a76ca86adf Merge "spi: spi_qsd: Revert latency improvement changes done for small transfers" 2017-01-20 13:48:35 -08:00
Linux Build Service Account
ec95bb9e5c Merge "USB: u_data_ipa: Fix spinlock usage in resume_work handler" 2017-01-20 13:48:34 -08:00
Linux Build Service Account
43be7f575f Merge "ARM: dts: msm: Update GPU bus IB votes for SDM660" 2017-01-20 13:48:33 -08:00
Linux Build Service Account
144961a0ba Merge "USb: f_qc_rndis: Initialize opts variable in set_alt()" 2017-01-20 13:48:30 -08:00
Linux Build Service Account
8c2a437b6b Merge "USB: u_ctrl_qti: Remove redundant check in qti_ctrl_write()" 2017-01-20 13:48:30 -08:00
Linux Build Service Account
7c02ef2b00 Merge "USB: gadget: mass_storage: Fix Null pointer access during disconnect" 2017-01-20 13:48:29 -08:00
Linux Build Service Account
ae4c40372b Merge "msm: kgsl: Clean up power-related members if probe fails" 2017-01-20 13:48:28 -08:00
Linux Build Service Account
b24a83ae61 Merge "mmc: core: Add sysfs entry to print ring buffer" 2017-01-20 13:48:26 -08:00
Linux Build Service Account
c51bfb9f3d Merge "mmc: cmdq_hci: Add tracing events for CQ mode." 2017-01-20 13:48:25 -08:00
Linux Build Service Account
f6e430bf1b Merge "mmc: core: Add mmc tracing events in suspend and resume" 2017-01-20 13:48:25 -08:00
Linux Build Service Account
f0cd2ed1ad Merge "mmc: sdhci: Add mmc tracing events for legacy mode." 2017-01-20 13:48:24 -08:00
Linux Build Service Account
7280bd073e Merge "mmc: host: Add Ring buffer logging for MMC." 2017-01-20 13:48:24 -08:00
Linux Build Service Account
e40f634b02 Merge "USB: gadget: mass_storage: Fix Null pointer access during disconnect" 2017-01-20 13:48:23 -08:00
Linux Build Service Account
587659fb8f Merge "ARM: dts: msm: update sensor dtsi for SDM660 QRD" 2017-01-20 13:48:22 -08:00
Hemant Kumar
7f2c301dd1 usb: phy: snps: fix copyright information
Update copyright line to "The Linux Foundation" and
year.

Change-Id: I1bdd64bebb77f41555f1057132ad3a060874bb11
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-01-20 13:15:35 -08:00
Zhen Kong
d250be844b qseecom: release memory when failed to get fw size
release app list entry when __qseecom_get_fw_size() returns error.

Change-Id: I82406c39a2def87395811f442f39b57201766091
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-01-20 12:24:30 -08:00
Osvaldo Banuelos
6b6b86c9b9 clk: msm: clock-debug: acquire prepare lock during measurement
If the rate of the clock being measured changes at the same
time clock_debug_measure_get() is called, there can be a
miscalculation of the value of the divider between the
measurement circuitry and clock output. Acquiring the prepare
lock fixes the race since it prevents clock rate changes during
measurement.

CRs-Fixed: 1109789
Change-Id: I51050379a45a51c22109a06bc4758d767f361da1
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2017-01-20 10:45:29 -08:00
Vijayavardhan Vennapusa
bd8ed2fcf3 USB: u_data_ipa: Fix spinlock usage in resume_work handler
Fix spinlock usage in bam2bam_data_resume_work handler that could
cause error reported by static analysis tool.

Change-Id: I15bbb5abc98452fcfed2d98547a859a355a391d9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-20 15:46:54 +05:30
Mihir Patel
ae687e37a7 ARM: dts: msm: Update GPU bus IB votes for SDM660
A512 GPU clock plan is revised hence need to adjust IB
bus votes for respective GPU power levels. Update GPU
bus votes as per new GPU clock plan for SDM660.
Also adjust GPU IB votes as per dual channel DDR
recommendation.

Change-Id: Ia68bd5dee8bf9d037510877c647c5c3a74bdce99
Signed-off-by: Mihir Patel <mihirp@codeaurora.org>
2017-01-20 14:34:54 +05:30
Vijayavardhan Vennapusa
3cd77ace2d USB: u_ctrl_qti: Remove redundant check in qti_ctrl_write()
Remove redundant check for port in qti_ctrl_write() which is not
required.

Change-Id: I8825b52156d722772759d2ae10f2b8bbd4d18417
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-20 12:16:04 +05:30
Vijayavardhan Vennapusa
6109673364 USb: f_qc_rndis: Initialize opts variable in set_alt()
Currently opts variable in rndis_qc_set_alt() is used without
initializing it. This could cause error reported by static analysis
tool. Hence fix this by initializing the variable before accessing it.

Change-Id: I77a42464e351f4e9886250315423ae355ff43617
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-20 12:03:27 +05:30
Vijayavardhan Vennapusa
2e83ddb8b7 USB: gadget: mass_storage: Fix Null pointer access during disconnect
There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.

CRs-Fixed: 891650
Change-Id: I79ce3967533d2a7cb7591ccfe50b095a540e9884
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-19 21:35:57 -08:00
Mukesh Kumar Savaliya
1ab10b3000 spi: spi_qsd: Revert latency improvement changes done for small transfers
Reverting the changes provided to improve small transfer rate.

Change-Id: Ifc1ae0ccbd0f991523f4715fbb1ff9951b268986
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-01-20 10:59:38 +05:30
Vijayavardhan Vennapusa
c8023ef763 USB: gadget: mass_storage: Fix Null pointer access during disconnect
There is a chance that completion handler and ep disable race each other
and it might happen that completion handler gets called after driver_data
is set to NULL as part of function disable. This results in crash. Hence
add check in completion handler to check if driver_data is NULL or not
to fix the issue.

Change-Id: I3496811f52af79e8dccb701b2753a81f5d5a2340
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-19 21:14:58 -08:00
Linux Build Service Account
74e7bd58a4 Merge "clk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2" 2017-01-19 19:10:39 -08:00
Linux Build Service Account
b098643da6 Merge "ARM: dts: msm: Add support for GPU AB vote scaling" 2017-01-19 19:10:38 -08:00
Linux Build Service Account
66db6f5a17 Merge "defconfig: msmcortex: fix msmcortex 32-bit compilation issues" 2017-01-19 19:10:36 -08:00
Linux Build Service Account
852c84a44d Merge "crypto: msm: remove extraneous parentheses in qcedev.c" 2017-01-19 19:10:35 -08:00
Linux Build Service Account
9c52d1de73 Merge "soc: qcom: smem: Fix possible use of uninitialized variable" 2017-01-19 19:10:34 -08:00
Linux Build Service Account
e3ab542833 Merge "msm: gsi: fix to client notify on poll mode" 2017-01-19 19:10:33 -08:00
Linux Build Service Account
c36e797898 Merge "clk: qcom: Move the rbcpr clock voltage vote to active only" 2017-01-19 19:10:32 -08:00
Linux Build Service Account
51fd273569 Merge "ARM: dts: msm: update DDR BW voting on SDM660 target" 2017-01-19 19:10:31 -08:00
Linux Build Service Account
a3a6fc8dc6 Merge "mmc: sdhci-msm-ice: Update ice config vop to config_start" 2017-01-19 19:10:30 -08:00
Linux Build Service Account
d4f45fff4e Merge "ARM: dts: msm: Enable SDCC ICE clock on SDM660" 2017-01-19 19:10:29 -08:00
Linux Build Service Account
c771f8342e Merge "mfd: qcom-i2c-pmic: Add retry mechanism for slow slave responding" 2017-01-19 19:10:27 -08:00
Linux Build Service Account
e67133fb18 Merge "fs: fuse: Add replacment for CMA pages into the LRU cache" 2017-01-19 19:10:20 -08:00
Satya Durga Srinivasu Prabhala
bfc40383e3 soc: qcom: service-notifier: change log level for UP/DOWN indications
Service UP/DOWN indication logs are critical during boot or PD restart
to understand the communication between application processor and remote
processor.

Change-Id: Ie372f00ae032e9a5697c2eb6ef6ed65de9849933
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-01-19 18:24:00 -08:00
Deepak Katragadda
2a377eef44 clk: msm: Update the frequency table for csiphy clock on MSMCOBALT v2
Add 274.29 MHz as a supported frequency for the csiphy_clk_src RCG
on MSMCOBALT v2.

Change-Id: I2eb5fc2cdce08c67f165be9094c88f454f0de4a1
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2017-01-19 17:08:08 -08:00
Zhen Kong
92200ab455 crypto: msm: remove extraneous parentheses in qcedev.c
remove extraneous parentheses around the comparison to resolve
static analysis warning.

Change-Id: I67c755f028a8bf27e0b924cd636a1cce27e149fc
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-01-19 12:27:43 -08:00
Skylar Chang
11f6178a51 msm: gsi: fix to client notify on poll mode
When processing an IEOB interrupt, do not process the pending
events in case the channel is in polling mode.

Change-Id: I9b9fbc71ae33fe1bfef837580f9f8e9aa875160d
CRs-Fixed: 1112064
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-01-19 10:09:28 -08:00
Nicholas Troast
86827abe1d defconfig: msmcortex: fix msmcortex 32-bit compilation issues
Some kernel modules have 32-bit compilation issues. Disable them.

Change-Id: I27c9c705e18fa6a208bf505c88e92dbf4727aeb0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-01-19 09:57:07 -08:00