Initialize rc just for sanity so that it is not used uninitialized in
the return path.
Fixes: 568fc7ac9b ("leds: qti-flash: Handle all-enabled led mask separately")
Change-Id: I77caac87781b7a2ad2de0ecb13c5b3cd9ca3707b
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
commit 59ff8848b2 ("usb: gadget: qdss: Use usb_ep_autoconfig()
instead of ss() variant") modified f_qdss to use the simple
usb_ep_autoconfig() helper, however this function has a caveat
that the passed in descriptor's wMaxPacketSize field gets updated
to be a maximum to 64 bytes. Hence, this function should not be
called with descriptors intended for high- or Superspeed usage
since they can support up to 512 or 1024 bytes for bulk endpoints.
Instead, call usb_ep_autoconfig() by passing in the FS descriptors,
and use the resulting bEndpointAddress assignment to update the
corresponding HS and SS descriptors.
Change-Id: I0b177d5d1075bc3e996f09a2db4699952cf0886d
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Added flag to differentiate between gsi db address or
ddr address.
Change-Id: I106e993a5e6a86b8d36009d73fa888a8167922c0
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
In some usecases AB votes may not be needed but governor
cannot suppress the AB measured on HW.
Provide use_ab tunable for userspace to drop AB vote.
Change-Id: Ib7734e06fa00f86eb536b63526c16212012b614d
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This change enables synaptic dsx config for Lahaina target.
Change-Id: Id48fa69c3cca261b0a46a1146c44b1198bf55442
Signed-off-by: Fei Mao <feim1@codeaurora.org>
arm32 original logic:
1. allocated memory for page_ext(using memblock).
2. invoke the init callback of page_ext_ops like
page_owner(using buddy).
3. initialize buddy.
after this change:
1. allocated memory for page_ext(using memblock).
2. initialize buddy.
3. invoke the init callback of page_ext_ops like
page_owner(using buddy).
with the change, failure/dummy_handle can get its correct value.
Change-Id: I6598481299da115ff4be50bf0e5a61a012d5ac83
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
* remotes/origin/tmp-e32adae:
ANDROID: ABI: Update allowed list for QCOM
Revert "UPSTREAM: ehci-hcd: Move include to keep CRC stable"
Revert "ANDROID: Update android/abi_gki_aarch64.xml"
ANDROID: Update android/abi_gki_aarch64.xml
UPSTREAM: ehci-hcd: Move include to keep CRC stable
UPSTREAM: kbuild: use CONFIG_CC_VERSION_TEXT to construct LINUX_COMPILER macro
UPSTREAM: kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h
UPSTREAM: kbuild: ensure full rebuild when the compiler is updated
ANDROID: abi: update for hikey960
ANDROID: dts: hi3660: Fix duplicate adv7533 nodes
ANDROID: kallsyms: ignore ThinLTO+CFI hash suffix in kallsyms_lookup_name()
ANDROID: Refresh ABI.xmls with libabigail 1.8.0-1dca710a
ANDROID: ABI: update allowed list for QCOM
ANDROID: KMI symbol lists: migrate section name
ANDROID: ABI: Update allowed list for GALAXY
ANDROID: hikey960_gki.fragment: Remove UFS and USB bits
ANDROID: lkdtm/usercopy: Use __va_function to find proper vm_mmap address
ANDROID: mm: add generic __va_function and __pa_function
ANDROID: vendor_hooks: Add hooks for debugging exception context
FROMGIT: mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
Change-Id: I84ca8d4c3849984c3b18432e9e42136adf6c5d5c
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Update HW idle check for A619 holi to ensure GPU
idle status is captured correctly.
Change-Id: I2c332e43b3e3f653421e0bc4ab823ac557cfa141
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Added support for passing init info from userspace
Change-Id: Ica31b6ed19e6536dadd36b35b31e5202da75490f
Signed-off-by: richagar <richagar@codeaurora.org>
Update the DLL power up sequence according to the latest SDCC DLL HSR
document and SDCDC initialization sequence in HPG.
Final sequence:
Step 1 - Set PWRSAVE bit in MCI_CLK to '0' during reset
Step 2 - Disable CK_OUT
Setp 3 - Set CORE_DLL_CLOCK_DISABLE to '1'
Step 4 - Set RST & PDN to '1'
Step 5 - Set DLL_CONFIG_3
Step 6 - Set SDC4_USER_CTRL
Step 7 - Set SDC4_TEST_CTRL(SW can Skip this step)
Step 8 - Set DDR_CONFIG
Step 9 - Set DLL_CONFIG_2
Step 10 - Set DLL_CONFIG
Step 11 - Wait for 52 us
Step 12 - Set RST & PDN to '0'
Step 13 - Set RST to '1'
Step 14 - Set RST to '0'
Step 15 - Set CORE_DLL_CLOCK_DISABLE to '0'
Step 16 - Write '1' to DLL_EN
Step 17 - Wait for 8000 input clock cycles
Step 18 - Enable CK_OUT
Step 19 - Check for Lock
Step 20 - If PWRSAVE is needed, set PWRSAVE to '1'.
Change-Id: I663cb294c4e1cc6f28b81e0cab4caf54554ad145
Signed-off-by: Jun Li <liju@codeaurora.org>