When any system call is made, before servicing it make sure that the
session context is not null and channel info is valid.
Change-Id: Ieba53b123d6553c5381db9f0b6d57b8f343e6155
Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Devices without pm_ops are not required to be added in dpm list.
It also helps in improving suspend/resume latencies.
Change-Id: I19a85742fdb6f4d01363b69662ea6d7721a08b3a
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
Wakeup of tx thread is done in rx_worker non atomic context. Additionally,
rx_worker also process commands in non atomic context which require tx in
same context. This leads to deadlock situation, if the tx issued from
rx_worker non atomic context result in fifo full and go to sleep.
To avoid this deadlock situation now wakeup is called from a deferred
function.
CRs-Fixed: 2018003
Change-Id: Ibfd12f65340c7ac9a00956a014bc013401223c98
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Sysrq must be enabled via /proc/sys/kernel/sysrq as a security
measure to enable various critical fiq debugger commands that
either leak information or can be used as a system attack.
Default disabled, this will leave the reboot, reset, irqs, sleep,
nosleep, console and ps commands. Reboot and reset commands
will be restricted from taking any parameters. We will also
switch to showing the limited command set in this mode.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 32402555
Change-Id: I3f74b1ff5e4971d619bcb37a911fed68fbb538d5
[d-cagle@codeaurora.org: Resolve merge conflict]
Git-repo: https://android.googlesource.com/kernel/msm
Git-commit: 1031836c0895f1f5a05c25efec83bfa11aa08ca9
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Enable ESD feature for default truly command mode panel on sdm630.
Also increase the escape clock of both command and video mode panel
to avoid DSI PHY related errors seen during ESD enable use case.
Change-Id: Icc6064a9ad2b7aac2699f3161a3f7711933e55f8
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Close data source ports i.e. wcn3990 tx ports before data sink ports i.e.
AFE for FM tx case. Also, do not set wcn3990 overflow/underflow registers
to 0 during channel disable path. This causes audio loss if audio focus
is lost during FM playback.
Change-Id: Id6c8ee145bf7feb8681851499ba36b708667b4ef
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Currently, memshare allocates 5MB memory to diag client.
This patch increases the memory to 15MB. Also now diag
client will be considered guaranteed to avoid memory
allocation failure on modem SSRs.
Change-Id: I2ac822ef95ab7fbf054fdc80052b8406732f383e
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Array elements needs to be initialised as the
elements are not initialised by default and may
contain junk data which will lead to unexpected
behaviour.
Change-Id: Ifecb8065b09afcbf11a9dcfbf230403afcdb225d
CRs-Fixed: 2015789
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Secure scaling control is flagged as volatile which
should not be beacause as per the documentation a volatile
control changes continuously but this control value
is updated from capabilities we got from the firmware
which is not going to change later. Also as this control
is volatile, when we try to get control on this, driver
will try to get control for all the controls which are
flagged as volatile. This might lead to generate session
error as there are some controls which are specific to
codec type but as they are flagged volatile driver will
try to get control for them too and this will trigger
session error from firmware.
Change-Id: I42602eb8e20a6ae5ce90f9dbe938b0503c6a731e
CRs-Fixed: 2015147
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Add support to get WCN3990 mem base from
device tree node.
Change-Id: I1561dc18577a075bda123429b3e9b89e92a9bfb5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Add memory regions defined as starting address and size in
wlan module device node for APQ8998.
Change-Id: I76b790f2186d133984997acff5b3faed621f2116
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>