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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
remove extraneous parentheses around the comparison to resolve
static analysis warning.
Change-Id: I67c755f028a8bf27e0b924cd636a1cce27e149fc
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
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>
Some kernel modules have 32-bit compilation issues. Disable them.
Change-Id: I27c9c705e18fa6a208bf505c88e92dbf4727aeb0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
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>