mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branch 'android11-5.4' into 'android11-5.4-lts'
Sync up with android11-5.4 for the following commits:09b63a9447ANDROID: GKI: add allowed list for Exynosauto SoC83e8d7513cANDROID: GKI: update allowed list for Exynosauto SoC4e20d65b72UPSTREAM: mfd: sprd: Add wakeup capability for PMIC IRQ5eaa11cf0dUPSTREAM: tick/common: Touch watchdog in tick_unfreeze() on all CPUs70145df882FROMLIST: thermal: Fix NULL pointer dereference issue7982ae0c2cANDROID: ABI: Update allowed list for QCOM42e0a0e97fUPSTREAM: spi: Fix regression to return zero on success instead of positive valuef49688970bUPSTREAM: thermal: power_allocator: Fix Kconfig warninge13d39a31fUPSTREAM: of/platform: Unconditionally pause/resume sync state during kernel init26d0b8dd3aUPSTREAM: selinux: ensure the policy has been loaded before reading the sidtab statsb1ab580076UPSTREAM: MIPS: vdso: Define BUILD_VDSO32 when building a 32bit kernel3ab3de2667UPSTREAM: mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummyfecd3edb95UPSTREAM: ARM: bcm2835_defconfig: Explicitly restore CONFIG_DEBUG_FSa268f056b7UPSTREAM: ARM: socfpga_defconfig: Add back DEBUG_FS9008abe0e4UPSTREAM: um: Fix header inclusiondf1cc4066fUPSTREAM: net: fix fraglist segmentation reference count leak223c666145UPSTREAM: ipv6: ndisc: RFC-ietf-6man-ra-pref64-09 is now published as RFC8781b01c286473UPSTREAM: of: property: Fix create device links for all child-supplier dependencies6ac5a61989UPSTREAM: of: property: Do not link to disabled devices2bef330246UPSTREAM: mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE1bd9ca0eb9UPSTREAM: usb: renesas-xhci: include correct header for get_unaligned_le16()cd63b9b3efUPSTREAM: wil6210: account for napi_gro_receive never returning GRO_DROPf1ed2a97d3UPSTREAM: nl80211: fix memory leak when parsing NL80211_ATTR_HE_BSS_COLOR8aff1e0e2aUPSTREAM: thermal/drivers/sprd: Fix return value of sprd_thm_probe()23b53e4b2aUPSTREAM: fscrypt: restrict IV_INO_LBLK_* to AES-256-XTS5eb84aafc7UPSTREAM: fscrypt: use smp_load_acquire() for fscrypt_prepared_key3fcaa86a3dUPSTREAM: nvmem: sprd: Fix return value of sprd_efuse_probe()05f0c99de8UPSTREAM: mac80211: fix warning in 6 GHz IE addition in mesh mode67d571fe31UPSTREAM: scsi: ufs: Fix interrupt error message for shared interrupts91c21bea59UPSTREAM: sched/fair: Fix wrong negative conversion in find_energy_efficient_cpu()5eee799becUPSTREAM: driver core: Fix device_pm_lock() locking for device links8502859d46UPSTREAM: fscrypt: restrict IV_INO_LBLK_32 to ino_bits <= 324a5e996245UPSTREAM: scsi: ufs: ufs-mediatek: Eliminate error message for unbound mphyc8f9209864UPSTREAM: scsi: ufs: ufs-mediatek: Fix HOST_PA_TACTIVATE quirk174953dd82UPSTREAM: cfg80211: fix 6 GHz channel conversion Change-Id: I94eb6c54684cfba1899e7d81caa5986d83212120 Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
commit
d0bd13a1b2
35 changed files with 950 additions and 684 deletions
|
|
@ -518,10 +518,11 @@ static int __init of_platform_default_populate_init(void)
|
|||
{
|
||||
struct device_node *node;
|
||||
|
||||
device_links_supplier_sync_state_pause();
|
||||
|
||||
if (!of_have_populated_dt())
|
||||
return -ENODEV;
|
||||
|
||||
device_links_supplier_sync_state_pause();
|
||||
/*
|
||||
* Handle certain compatibles explicitly, since we don't want to create
|
||||
* platform_devices for every node in /reserved-memory with a
|
||||
|
|
@ -547,8 +548,7 @@ arch_initcall_sync(of_platform_default_populate_init);
|
|||
|
||||
static int __init of_platform_sync_state_init(void)
|
||||
{
|
||||
if (of_have_populated_dt())
|
||||
device_links_supplier_sync_state_resume();
|
||||
device_links_supplier_sync_state_resume();
|
||||
return 0;
|
||||
}
|
||||
late_initcall_sync(of_platform_sync_state_init);
|
||||
|
|
|
|||
|
|
@ -1031,8 +1031,20 @@ static int of_link_to_phandle(struct device *dev, struct device_node *sup_np,
|
|||
* Find the device node that contains the supplier phandle. It may be
|
||||
* @sup_np or it may be an ancestor of @sup_np.
|
||||
*/
|
||||
while (sup_np && !of_find_property(sup_np, "compatible", NULL))
|
||||
while (sup_np) {
|
||||
|
||||
/* Don't allow linking to a disabled supplier */
|
||||
if (!of_device_is_available(sup_np)) {
|
||||
of_node_put(sup_np);
|
||||
sup_np = NULL;
|
||||
}
|
||||
|
||||
if (of_find_property(sup_np, "compatible", NULL))
|
||||
break;
|
||||
|
||||
sup_np = of_get_next_parent(sup_np);
|
||||
}
|
||||
|
||||
if (!sup_np) {
|
||||
dev_dbg(dev, "Not linking to %pOFP - No device\n", tmp_np);
|
||||
return -ENODEV;
|
||||
|
|
@ -1311,7 +1323,7 @@ static int of_link_to_suppliers(struct device *dev,
|
|||
if (of_link_property(dev, con_np, p->name))
|
||||
ret = -ENODEV;
|
||||
|
||||
for_each_child_of_node(con_np, child)
|
||||
for_each_available_child_of_node(con_np, child)
|
||||
if (of_link_to_suppliers(dev, child) && !ret)
|
||||
ret = -EAGAIN;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue