Initialize the has_locked member before running SSR
spinlock test to ensure consistent results.
CRs-Fixed: 2091946
Change-Id: Ifad37541a94668b496aa9204dc80920b9a7ff244
Signed-off-by: Chris Lew <clew@codeaurora.org>
Changes that help facilitate sending the FPD-III to CSI bridge chip's
input signal status to the user-mode components.
Change-Id: I5e39c75b61f05edc8a1dc77677b9cad85fc563eb
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Add POWER_SUPPLY_PROP_COLD_TEMP and POWER_SUPPLY_PROP_HOT_TEMP
properties to represent Cold and Hot JEITA thresholds of the
battery.
Change-Id: Id5e16a4f7b20bb05d997277d20db05fc08db9f33
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
CHARGE_FULL property indicates the learnt capacity of the battery
from the last capacity learning cycle. However, in some rare
cases, if the learnt capacity is having an unexpected value, it
requires a reset to a good value which is not possible for an
user who cannot reinsert a battery or do an explicit write to FG
SRAM. Allowing CHARGE_FULL to be writable helps this.
Change-Id: I05aa8392f103685f8fc1ba5a3780122150be0ee6
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Fix the bad cell count warning coming from smb138x device by
setting size-cells correctly.
Change-Id: I050471d676c8a11737d9034bd25d3e9229591752
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Update the battery profile for ascent 3450mAh battery based on
the latest characterization data.
Change-Id: I44e08b66d1f4dd424efc1595e3b4f3bbb2176a48
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This change enables below list of configs to
address the VTS KernelConfig and KernelProcFileApiTest
test case failures for SDM660.
Enable configs:
CONFIG_QUOTA
CONFIG_QUOTA_NETLINK_INTERFACE
CONFIG_QFMT_V2
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_TASKSTATS
CONFIG_TASK_XACCT
CONFIG_TASK_IO_ACCOUNTING
CONFIG_UID_SYS_STATS
Change-Id: I5aa724988c21fa02cdc88c89d9663d2939198943
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
Due to the missing vote, un-clocked access to GSI registers
occurred when destroying MHI channels. Fix it by voting
to the clocks.
CRs-Fixed: 2097296
Change-Id: Ib4fe41ff87ecb9746617b1ed3e32cae740de0c7e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Increase mincpu BW vote mapping for Big CPU Max frequency
to DDR Max frequency. This will help to reduce RAM access
latencies when CPU is running at max frequency.
Change-Id: I5f12ff09d5b2b94b1f02394219a3dcb4e56589e8
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
Added code changes to avoid use after free
if header already table already freed
during ipa ioctl test.
Change-Id: I5e89c28448bd3b94714451432774457a170005bd
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
This change adds minidump id and imem region entries. Minidump id is
used to find imem offset for subsystem which is populated with base
smem table info for subsystem. While imem region entry points to table
of content in shared mem for any subsystem.
Change-Id: I6c14fd962585039b5e7b6293a5ec872861f6600d
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Minidump is concise and bare minimum dump to enable technology
teams to debug most of subsystem issues. This change adds required
driver code changes to provide support of subsystem minidump.
Increase PIL timeout to give MBA more time for encryption
and decryption for modem segments.
Change-Id: I1d04a9306ce507bc610777bc476197f26c1e18ac
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Disable max20010 regulator device node from msm8996 regulators
and conditionally enable it for 8996auto boards using max20010
as VDD_GFX supply.
CRs-Fixed: 2091156
Change-Id: I688f1dac31a7601bde5753e2544d07aabdc3cc7a
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
When enabling early display, disabling weston service and launching
DRM_test, system looks to hang when DRM_test wants to open drm node.
The hang is caused by mutex deadlock.
So refine the code and remove the mutex lock to fix the problem.
Change-Id: I91d0c4e4418afde38c98a6294e49491403cdfe74
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
Signed-off-by: Yujun Zhang <yujunzhang@codeaurora.org>
free allocated memory in error handling of spcom_register_client()
and spcom_register_service() kernel API.
Change-Id: Ieb5787cb1a11d4b3320237fa8cdde3dc357d9084
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
This reverts commit d36bb30811.
Not able to add device with PM core and causing suspend/resume
issue in I2C client driver.pm_ops are removed from I2C bus type
and should fall back on client driver pm_ops.
Reverting this change as we are not able to register I2C
client devices with PM core.
Change-Id: I973a03b7cd0afca2edb584539ea5c69198bfb089
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
Add speed-bin 3 to support the fmax of 1.8 GHz and 1.6 GHz
for perf and power clusters respectively.
And also update the cpufreq table for the same.
Change-Id: Ia3be3f321b53bbbb4c37f5e86e451ca86ec8cdc9
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>