Commit graph

581604 commits

Author SHA1 Message Date
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
Linux Build Service Account
59656208b7 Merge "drivers: soc: qcom: Add overflow check in ADM driver" 2017-01-19 09:52:38 -08:00
Linux Build Service Account
8d03dd19a9 Merge "drivers: mfd: Check device id null pointer before dereferencing" 2017-01-19 09:52:37 -08:00
Linux Build Service Account
ca24c4decc Merge "ASoC: wcd934x: Add support for USB Type-C analog audio" 2017-01-19 09:52:36 -08:00
Linux Build Service Account
050fcfa254 Merge "Asoc: msm: qdsp6v2: Fix Out-of-bounds memory access in adm_get_params_v2" 2017-01-19 09:52:35 -08:00
Linux Build Service Account
1a40ab7429 Merge "ASoC: wcd934x: Fix headphone playback mute" 2017-01-19 09:52:34 -08:00
Linux Build Service Account
8d1bf18c09 Merge "ASoC: msm: qdsp6v2: allow mic selection for multichannel ec" 2017-01-19 09:52:33 -08:00
Linux Build Service Account
9f49c83495 Merge "ASoC: wcd9xxx: Fix codec regulator override" 2017-01-19 09:52:32 -08:00
Linux Build Service Account
66d6a6b1f9 Merge "ASoc: msm: qdsp6v2: add support for AAC LATM playback" 2017-01-19 09:52:31 -08:00
Linux Build Service Account
1ad069c71a Merge "ASoC: msm: qdsp6v2: add proper break statement" 2017-01-19 09:52:30 -08:00
Linux Build Service Account
0500686adc Merge "ASoC: msm: qdsp6v2: DAP: Add check to validate param length" 2017-01-19 09:52:29 -08:00
Linux Build Service Account
b563fa8cd0 Merge "ASoC: msm: qdspv2: add mutex lock when access output buffer length" 2017-01-19 09:52:28 -08:00
Linux Build Service Account
cfbb1f985f Merge "mfd: wcd9xxx: Add range checking in function wcd9xxx_init_slimslave" 2017-01-19 09:52:27 -08:00
Linux Build Service Account
003f49db57 Merge "ASoC: msm: qdsp6v2: Add range checking in msm_dai_q6_set_channel_map" 2017-01-19 09:52:26 -08:00
Linux Build Service Account
8494beab67 Merge "ASoC: msm: qdsp6v2: add routing for VoiceMMode1 FE and TDM BE" 2017-01-19 09:52:25 -08:00
Linux Build Service Account
15942a33a3 Merge "ASoC: msm: qdsp6v2: Add ASM low latency loopback support" 2017-01-19 09:52:24 -08:00
Linux Build Service Account
4f0a0766d1 Merge "sched: kill sync_cpu maintenance" 2017-01-19 09:52:20 -08:00
Linux Build Service Account
599395b30b Merge "ARM: dts: msm: Program slimbus bam offset address for SDM630" 2017-01-19 09:52:19 -08:00
Linux Build Service Account
b9afef8080 Merge "ARM: dts: msm: enable display panel for msm8998 HDK" 2017-01-19 09:52:18 -08:00
Linux Build Service Account
d8dae838c7 Merge "ARM: dts: msm: move display panel settings for sdm660 QRD" 2017-01-19 09:52:17 -08:00
Linux Build Service Account
119121213f Merge "ARM: dts: msm: Add slimbus device for wcn3990" 2017-01-19 09:52:16 -08:00