Make early console depend on kernel console from the Kconfig
so that early console will be up only when kernel console is
either enabled (y) or a module (m).
Change-Id: Id480e39c55f18eb5d3b3175c9bf76fa0cc05174f
Signed-off-by: Prudhvi Yarlagadda <[email protected]>
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.
Change-Id: I20ba557462b3080483e60ffd68a2e50d79468135
Signed-off-by: Mukesh Kumar Savaliya <[email protected]>
Clients store their private data in user within event structure
and not in notify structure. Thus update the callback to point
to the correct user info.
Change-Id: I938b135443d66b9451cead35d508bad9a4f685f8
Signed-off-by: Tony Truong <[email protected]>
Due to dpdm regulator is not being used on newer platform as
ADSP firmware takes care of charger detection, there is no
way to detect USB cable disconnect vs USB spoof disconnect
when EUD is enabled. This change identifies USB spoof
disconnect and provides spoof disconnect related information
to USB PHY driver to avoid turning off PHY clocks and regulators.
Change-Id: I8f6b953e7196378b9786fe268a08cc1a0e2620d3
Signed-off-by: Mayank Rana <[email protected]>
Validates buffer configuration in HFI packet structure
before kernel driver maps them in IOMMU.
Change-Id: I7075cc2fdead7f46d52b174a3c45cd07a8ac24af
Signed-off-by: George Shen <[email protected]>
When the RMNET pipe channel in the started state receiving the
junk packets, it leading IPA HW stall. Add changes to support
the new flow control channel state for rmnet pipe, it avoids
entering the junk packet to IPA HW.
Change-Id: If2b3992e8cdc93343e70f9d2c1783bbbde329bc2
Signed-off-by: Ashok Vuyyuru <[email protected]>
Data type bool isn't valid for uapi headers. Use the correct _Bool
type instead.
Change-Id: Ic0dedbadc3f104cfa81b9e180ba33fe58be113ca
Signed-off-by: Jordan Crouse <[email protected]>
Fix the following compiler error:
drivers/gpu/msm/kgsl_iommu.c:845:3: error: ignoring return value of
‘regulator_enable’, declared with attribute warn_unused_result
Fixes: 1c6fcc54ec ("msm: kgsl: Enable the CX GSDC before accessing IOMMU registers")
Change-Id: Ic0dedbad7d68d3dfb2344525d79d9d563e28d6d6
Signed-off-by: Jordan Crouse <[email protected]>
Some of the KGSL core code needs to make a decision about I/O coherency
so set the MMU property earlier to prevent an unneeded warning.
Change-Id: Ic0dedbadf9e4665b3e20460cb6f2ca81d74847e0
Signed-off-by: Jordan Crouse <[email protected]>
Let's not leave initialization of variable to chance, while determining
the QoS for CPU(s). Initialize to PM QoS default value.
Change-Id: I218599905b8b333c4421ad98fee26c967c5b3aa5
Signed-off-by: Lina Iyer <[email protected]>
Add support in I2C driver to operate in Trusted VM.
Change-Id: I5adf149ba2bea494b7bf2521eb2d5422cb8aef97
Signed-off-by: Vipin Deep Kaur <[email protected]>
Retain 2019 as the copyright year of memory_dump.h.
Change-Id: I6c9053e64c8ee7a416a2f9af028b288ef577c5d8
Signed-off-by: Mao Jinlong <[email protected]>
The value of "QUERY_MAX_AVAIL_CURRENT" option in the "leds-qti-flash"
driver is different from the legacy "leds-qpnp-flash" driver.
As a result, the led flash does not work. To fix this issue update
the option values of "leds-qti-flash" to align with the legacy driver.
Also add logic to handle other options "ENABLE_REGULATOR" and
"DISABLE_REGULATOR" to have backward compatibility.
Change-Id: I8213d53c6b19ccc8da74784e3b428b99fcebcbb7
Signed-off-by: Kiran Gunda <[email protected]>
Add support for set_load() callback for IBB regulator device so that
display driver can call regulator_set_load() to configure dual phase
for selfie flash use case.
For IBB regulator:
If load current <= 30mA, use single phase
If load current > 30mA, use dual phase.
Change-Id: I93698a974484f0919893af31f6dfa27ebb30a4e4
Signed-off-by: Shyam Kumar Thella <[email protected]>
Remove cpuss clocks that are currently unused and never required to be
controlled on HLOS. Write access to these clocks will likely be removed
in the near future for security reasons, so remove them before that
happens.
Change-Id: Ie749d8bcd5e17f2f8200c3225bdd8b4744a0138f
Signed-off-by: Mike Tipton <[email protected]>
Fix headers so that they compile with UAPI_HEADER_TESET
Change-Id: Ic0dedbad70c238d28db5b1f6555cbde2be6ae8c0
Signed-off-by: Jordan Crouse <[email protected]>
Fix other headers to work when KERNEL_HEADER_TEST is enabled by adding
dependencies and advance struct prototypes where appropriate.
Change-Id: Ic0dedbad6804e5dca75b33b3d0ae9e3b89a51669
Signed-off-by: Jordan Crouse <[email protected]>
Make synX handling in kernel independent of CVP features. It also
simplified handling logic.
Change-Id: I598d2c78f0fea4463c5801b5db945b74c071ebab
Signed-off-by: George Shen <[email protected]>
midi device enumeration is failing in super speed plus
mode because function driver does not pass super speed
plus desc.
Change-Id: Iebfab054c3bdb3a326d585de9d106a01a3dd9877
Signed-off-by: Hemant Kumar <[email protected]>
Enable the fastrpc QGKI config option that the driver can use to
detect that it is being compiled in a QGKI kernel.
Change-Id: I6bd44bfd61e79ebe70689f326d5616b6d856c146
Acked-by: Thyagarajan Venkatanarayanan <[email protected]>
Signed-off-by: Himateja Reddy <[email protected]>
Set sound card as private data for "state" snd info
entry to avoid dereference error when user/userspace
tries to read card state.
Change-Id: Ia165fef682dd420ffedd5352efdf31d96b232a4b
Signed-off-by: Vignesh Kulothungan <[email protected]>
The logic for calculating the request buffer sizes for the
MEM_SHARE and MEM_LEND resource manager calls is not present,
so add it.
Change-Id: I804ee108565733b0e4b376b5fd31abdb3d359c1f
Signed-off-by: Isaac J. Manjarres <[email protected]>
Use the locally calculated value of memory attribute entries when
populating the memory attribute descriptor, instead of always
dereferencing the client provided memory attribute descriptor,
as clients may not always provide one.
Change-Id: Ifbe586336e69e439ed404067616cce7515fd7953
Signed-off-by: Isaac J. Manjarres <[email protected]>
Changes to fix compilation for inline encryption
when compiled as modules for GKI.
Change-Id: If091f807fdfb42ceb846334458c48d1687231f6e
Signed-off-by: Gaurav Kashyap <[email protected]>