Commit graph

581563 commits

Author SHA1 Message Date
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
Abhijeet Dharmapurikar
c9f6c20965 qcom-charger: smb138x: Add MODEL_NAME property for parallel
Currently there is no easy way to detect the device name based on
the bus or device sysfs properties.

Implement MODEL_NAME property to identify the parallel charger.

Change-Id: I8134b415a2b36e249b098f4b61d4dd8415008cfa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-01-20 13:04:46 -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
Ram Chandrasekar
53a5fb5688 ARM: dts: msm: Update the pmic sensor name for MSM8998
The PMIC alarm type sensor is named wrong in the sensor information.
This will prevent thermal-engine from monitoring this sensor.

Update the sensor information to specify the right sensor name for
msm8998.

Change-Id: Ic11a37031e085e29c2f19be6f80f1a7c9ed4b79c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2017-01-20 11:58:21 -07: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
Odelu Kukatla
0a0cd47d3d ARM: dts: msm: Enable QoS settings programming for sdm660
Bus driver requires to set the QoS parameters like QoS mode
and priorities, so enable the QoS parameter programming and
also add the required clocks for QoS register access.

Change-Id: Ie2f4e054f4fc16b5c33233321e8761f999db7c46
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-01-20 19:45:52 +05:30
Rajesh Kemisetti
1664a92367 msm: kgsl: Try lower order mempools incase of mismatch
Try to allocate pages from lower order mempools incase
if requested memory size order does not match with the
available mempools.

Change-Id: Idbe4dae3b8bb2a3165199b6959ad4fbf36559964
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-01-20 18:00:38 +05:30
Rajesh Kemisetti
3619a61f04 msm: kgsl: Dump preemption record only if it is enabled
During GPU snapshot dump path, a5xx_snapshot() tries to
capture preemption record without really checking on the
availability of preemption feature.

Add a check for preemption feature and then proceed.

Change-Id: I6ee23a1d8006ba18a25fb341bb88d8944ff054b7
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-01-20 17:40:31 +05:30
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
Udaya Bhaskara Reddy Mallavarapu
2b37a860d5 defconfig: msm: enable dvb demux modules compilation for sdm660
Enable dvb_core, mpq demux sw plugin modules compilation.

CRs-Fixed: 1108990
Change-Id: I5ed1bc5f6696c8ef05a51205e83d5dc2b23dd18e
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
2017-01-20 14:58:04 +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
Manoj Prabhu B
77d5c4ff30 diag: Synchronize threads to fix possible deadlock
This patch fixes the possible deadlock during processing
of feature mask between different peripherals.

CRs-Fixed: 1101672
Change-Id: I4d4223275c03017ef367bafa8e55be1803b9a750
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2017-01-20 00:57:02 -08:00
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
Ajay Singh Parmar
8647848087 msm: mdss: dp: add support to disable hdcp
For some use cases like running compliance test, it might
be necessary to disable hdcp. Add a sysfs node to allow
user to take action to enable/disable hdcp for such use
cases.

Change-Id: I8b9ae6d6d4e750be97fece172f635847ad2e05e4
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2017-01-19 17:01:19 -08:00
Tatenda Chipeperekwa
28ece3e2f1 msm: mdss: dp: add support for automated audio tests
On receiving audio test request from sink, parse audio parameters
and send notifications to audio modules to start audio transmission.

CRs-Fixed: 1109812
Change-Id: Id17d82c5b9e1c4bf453f1f1421d2025b32aa410a
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-01-19 17:00:25 -08:00
Ajay Singh Parmar
eae1dd3509 msm: ext_disp: allow multiple requests per client
Allow each display client to issue multiple requests for audio only,
video only or both to address different use cases for the display
clients.

CRs-Fixed: 1109812
Change-Id: I38518cebb37da0a48ffd817af9246a7c9682b494
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-01-19 17:00:20 -08:00
Tatenda Chipeperekwa
bb91430ca9 msm: mdss: dp: fix electrical compliance test sequence
Fix the electrical compliance test sequence by bypassing
the link training whenever there is a request for a new
PHY test pattern. Link training triggers the sending of
training patterns which might differ from the requested
PHY test pattern. Furthermore, handle the state DP
transitions for power on/off since there is no userspace
interaction for the electrical compliance tests.

CRs-Fixed: 1108048
Change-Id: I9169b7645f7e039c8582993bf88976ff24eb6eca
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2017-01-19 17:00:05 -08:00
Zhen Kong
29ba268e0e crypto: msm: check integer overflow on total data len in qcedev.c
qcedev_vbuf_ablk_cipher will calculate total data length. It starts
with the value of "areq->cipher_op_req.byteoffset", which is controlled
by the user. Make change to check if this total data length has integer
overflow issue in qcedev_check_cipher_params.

Change-Id: Ice42dca6d47eb8febfe8a34e566c69e4799fab57
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-01-19 15:17:39 -08:00
Aravind Venkateswaran
cd78c3e018 msm: mdss: dp: cap link based on maximum rate supported by the sink
Sink reports the maximum link rate that it supports as part of the
DPCD information. When calculating the link clock rate, ensure that
the calculated rate is always capped at the maximum rate supported
by the sink.

CRs-Fixed: 1109812
Change-Id: I563f3406606128b1bba705e6db33aa8ede8dbb7d
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-01-19 14:41:50 -08:00
Aravind Venkateswaran
deb557f543 msm: mdss: dp: fix handling of HPD IRQ
A sink uses the HPD IRQ signal to notify the source of for any
link maintenance, link tests and HDCP related messages. Current
implementation tears down the entire display pipeline when this
signal is received. This may not be necessary as it would be
needed to keep the DP interface enabled while any kind of link
maintenance is performed. Fix this and ensure that when handling
of the HPD IRQ is complete, re-establish the display pipeline.

CRs-Fixed: 1109812
Change-Id: Id93c3b147dd206e9718f49e2a053e3ee18162130
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2017-01-19 14:41:47 -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
Andrey Markovytch
d751a8d90f ufs: fixed bugs in ice related to key syncronization
1. Added reference count for requests in HW queue for particular key
2. Fixed race between block/unblock requests with asynchronous job
for key configuration in ice

Change-Id: Iaefc25739b420b2e5feae1895c7c2495b4850539
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2017-01-19 19:53:03 +02:00
Linux Build Service Account
fdddc49ef2 Merge "ASoC: wcd9xxx: Enable EAR LO concurrency in codec" 2017-01-19 09:52:42 -08:00
Linux Build Service Account
bf50e1fe71 Merge "ASoC: wcd9xxx: Add new impedence table for Tavil" 2017-01-19 09:52:41 -08:00
Linux Build Service Account
49d49b15a5 Merge "mfd: wcd9xxx: send down notification to devices before cleaning-up IRQs" 2017-01-19 09:52:40 -08:00
Linux Build Service Account
29bcd5781b Merge "ASoC: wcd934x: Add delay during headphone path bringup and teardown" 2017-01-19 09:52:39 -08:00