arch_setup_dma_ops is not exported and when compiling ASoC framework
as modules, it would not found arch_setup_dma_ops. Change it to
of_dma_configure to resolve this issue.
Change-Id: I2a031373eff8a4abc212798825c9effd77bce9f7
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Accessing some of the memory of the device while the device is
resetting or suspending may cause unexpected error as the HW is still
not in a stable state. Prevent this access to guarantee successful
read/write memory operations.
Change-Id: Idbf046e21726ec8d074161f75643f34137d6ec24
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Lior David <liord@codeaurora.org>
Use the defer work mechanism to poll for errors using a callback function.
Change-Id: Id599a9159098a8b13df386290b3e46939831a4ff
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
EDAC provides a mechanism to poll for errors using a callback function
and uses a delayed timer to schedule it. Provide an option to create
a deferrable timer if the error checking is not worth waking up
the cpu from idle.
Change-Id: Ia25216323eabf7fa4b894897c950414006921f3f
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Enable hv-haptics which registers the High Voltage Haptics module as an
input FF device to receive the input events for playing different
vibration effects.
Change-Id: Iccd58121cf6a0e5129ad4ca98ae36d9e4e760e9d
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
The pattern source check before loading predefined effect is incorrect.
Correct it.
Change-Id: I8026f6ee24ce17dfe43bc514eeb526300af99746
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Enable FSA driver on Lahaina to support analog type-c
headset.
Change-Id: I45574cec40f0bb082708d44ace8a9db1c358113c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
The memory regions managed by carveout heaps are provisioned to
the heaps at boot, and once a memory region is bound to a heap,
the binding of heap to memory region is immutable. In some cases,
it might be desireable to assign the memory region for a carveout
heap on demand.
Thus, add support for dynamic carveout heaps. Dynamic carveout heaps
are initialized as empty heaps (i.e. they have no memory associated
with them) and must have memory added to them prior to use. Dynamic
heaps can also have memory removed from them, so add support for both
of these functionalities as well.
Change-Id: Icafe83c879e7f5a10a92dd1fcd97f1fda2b02c20
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Changes are to propagate the tip changes of 4.19 to 5.4 kernel
'commit 137b5f5720ba ("i3c: i3c-master-qcom-geni: Support for
OD,PUSH-PULL mode frequency switch")'.
'commit a7d29dd6723b ("i3c: i3c-master-qcom-geni: Support for
static address zero")'.
Change-Id: I40ed219bc9b099e095595e8a0f777bc0d3ae6df6
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Currently when brightness is zeroed-out for a flash/torch device its
"configured" flag is set to false. Hence the flash/torch device is
ignored when its switch is disabled. This leads to the corresponding
LED channel left enabled. Fix this by setting "configured" flag to
false only when led strobe is de-asserted.
Change-Id: I46c640d3e0db8611343e2e67321db820161dd144
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
This change adds snapshot of usb audio qmi service related files.
A remote entity communicates with usb audio qmi server to enable
or disable particular audio stream on enumerated usb audio device.
This offloads ISOC data transfer operations to remote entity and
allows apps processor to go to power collapse more frequently for
better power saving.
This snapshot was taken as of msm-4.19 commit 3ecc1a5c8726 ("sound:
usb: Don't bail out if qmi_send_indication fails"). In addition,
several updates were made for the current kernel to be compatible
with the GKI ABI, such as making direct calls to APIs exported by
the XHCI driver as well as other minor checkpatch fixes.
Change-Id: I0d3c1c129723e2327406a61ae7c756736df99872
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
There is currently no interface for adding/removing memory to an
ION heap, so add one.
Change-Id: I68061feca3c29cd8f2370665f40f8005fb8765ff
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
ION clients may want to know about the security state of a heap
prior to allocating from it, so expose an interface for querying
the security state of a heap.
Change-Id: Ibf832792ffbc81b5b96b8ddbc507db5418a47928
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Add support for mapping VMID values to their corresponding
ION flags.
Change-Id: I827c4e7c4a1761fcc6c6b08f2855f490243d8ea5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Move synx init/uninit calls to session creation and
deletion functions to avoid racing between synx release and
uninit.
Change-Id: I57d0a3e621f1fe7bacd811c03f89d754b4255b8e
Signed-off-by: George Shen <sqiao@codeaurora.org>
add compat_qseecom to support 32bit process to call ioctl on a
64-bit system.
Change-Id: I7e9b1c3d0cc34e3794265aa21db69e346f40833c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Add defer work feature in edac driver for non GKI variants.
Change-Id: Ie05ada1efe94f9ecb3bc5518790aeb5e741cf1e1
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Dependencies are available in build. Time to enable remaining
CVP features.
Change-Id: If34945f5d7ec1ad51d9b22c4c6cda37f65de84f1
Signed-off-by: George Shen <sqiao@codeaurora.org>
Enable wakelock feature to allow user space to create,
activate and deactivate wakeup source.
Change-Id: Iead1601322bedb5498bea047d1203a6f90c8023a
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
This enables the compilation of required modules that are needed
for QTI's virtual machines.
Change-Id: Ie1ac8696d0af76f4de38d2e7803e43292775c8b1
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
There are potential scenarios where the IPCC interrupts would have
been raised (and pending) during the bootloader stage. As a result,
the driver shouldn't be performing a reset as it would clear all the
pending interrupts. Hence, do not perform an explicit reset in the
driver's probe.
Change-Id: I1d45b20d539524900516532d968172d6b2c10b27
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Lahaina uses SDAM to store restart reason instead of PMIC PON register.
This change uses nvmem consumer framework to store restart reason.
Change-Id: Ib5d4406b7204b0c24992bd026f0f1a71f8b1e6fe
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
When task boost with special value 3 also have vruntime
bonus to run faster.
Change-Id: I7da2dd985a961671b27036a0d5b13cb79480c933
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
[satyap@codeaurora.org: fix compilation issues with User Mode Linux]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Place CNSS base and debug Kconfigs in corresponding GKI
fragment config file.
Change-Id: I3e20fde45dace4ee40e7ff7f671873aa25754eb9
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
Register with CPU Hotplug and Idle notifiers so that memlat
gets notified when CPU is being hotplugged in/out or when CPU
enters Idle state. The perf events should be recreated when the
cpu is brought back online. Also do not update the counts when
the cpu is hotplugged out or when it enters Idle state.
Change-Id: I35a05be0a43a4519282d5787e6c87d92e5bec1de
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
Enable this new Focaltech touch driver for Lahaina device.
Change-Id: I34b9b19bbf98ffd2b0a88ebeedf033463b5e4824
Signed-off-by: Fei Mao <feim1@codeaurora.org>