Add code to update cnss soc info from the info
received as part of target capability response.
Change-Id: I6b88192d772dd30a8aaeb90725141c7c38b2c50c
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Set auto resonance when loading effect according to the effect
settings.
Change-Id: I8dc9ac99a57e396d67da28ae7b1eb31813ab3362
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Currently, nvmem device is used to store closed loop brake settings. If
nvmem-cells is not specified for closed loop brake, then nvmem device
can be NULL. For such case, skip updating closed loop brake settings by
not writing to the nvmem device.
Change-Id: I18d455814f3731af519949f21a3a553bd1692548
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Restrict untrusted third-party applications to only unsigned PD
offload on the remote subsystem. This is done by comparing PID at
the time of process create with the one stored during device open
as the fastrpc device will be opened by DSP HAL service on behalf
of third-party applications.
Change-Id: Ibaead21a429e6bffe8f0808eebf93bf71d1db7ab
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
Remove duplicate timesync sysfs functions as they have moved to
a different file.
Change-Id: Ia1988f32eb6bf16914564977d09ba7ee81022335
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Add support to request time from device using the asynchronous
method in ticks and microseconds using sysfs entries.
Change-Id: Idb661ad6db9f1cc4cd594c96755986ece4961b03
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Enabling "timer" LED trigger allows for LED blinking to occur with
user-defined intervals of on and off time. This is achieved by writing
to "delay_on" and "delay_off" parameters under the sysfs directory of
the LED.
Change-Id: I313288a455088dee435ce878edd8bd5000a3b40e
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Allows the client to query the driver for driver capabilities.
Helpful for maintaining backwards compatibility in future.
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Change-Id: I82b2e05eae0241dd8cef22f07845998cae739395
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
qsmmuv500_tlb_sync_timeout() uses for_each_set_bit() to iterate
through the TBU IDs. However, for_each_set_bit() operates on
unsigned longs, while tbu_ids is a u32 variable. Change the type
of tbu_ids to unsigned long.
Change-Id: If59eedebb21d388f864a0e2579f8af6bb1fc0b75
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
The xfer_mem pointer is dereferenced before sanitizing it, so use it
only after it has been sanitized.
Change-Id: Iaedd988903f012e647dcfee9bbe7905e0a4574eb
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
As per the hardware documentation, adjust T_LRA using RC clock
calibration when playing in FIFO mode with play rate not less than
8 KHz. Based on the closed loop T_LRA, adjust the open loop T_LRA
specified in the device tree and use it in the calculation.
Change-Id: I5197bd04051c2aaab38c5ff5f37a47e0ef4b48d3
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
fixup_walt_sched_stats method in sched_class was required because
fair class need to handle it differently when CFS_BANDWIDTH feature
is enabled. Since that is gone, we can remove this method and reduce
WALT footprint in other files.
Change-Id: Ia20c4accf9beb9f79554636c8faced3d31358622
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
[clingutla@codeaurora.org: Resolved trivial merge conflicts]
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
WALT load tracking supports CFS_BANDWIDTH, which is not enabled for
Android and no users available for it. Remove it.
Change-Id: I4f3c66a1b567976aadb4a4f91a3dd66230386981
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
sched_disable_window_stats was used while resetting the window
size in legacy code. The current code does not use this anymore.
Change-Id: If77dcfcae917a6632125d205db9082e6b25ccbf6
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I92c13d8e6681adb2655a1dae1b5c92fd0fe32166
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>