android_kernel_motorola_sm6375/drivers/base
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Saravana Kannan 3334f0da66 FROMGIT: driver core: Reevaluate dev->links.need_for_probe as suppliers are added
A previous patch 03324507e66c ("driver core: Allow
fwnode_operations.add_links to differentiate errors") forgot to update
all call sites to fwnode_operations.add_links. This patch fixes that.

Legend:
-> Denotes RHS is an optional/potential supplier for LHS
=> Denotes RHS is a mandatory supplier for LHS

Example:

Device A => Device X
Device A -> Device Y

Before this patch:
1. Device A is added.
2. Device A is marked as waiting for mandatory suppliers
3. Device X is added
4. Device A is left marked as waiting for mandatory suppliers

Step 4 is wrong since all mandatory suppliers of Device A have been
added.

After this patch:
1. Device A is added.
2. Device A is marked as waiting for mandatory suppliers
3. Device X is added
4. Device A is no longer considered as waiting for mandatory suppliers

This is the correct behavior.

Fixes: 03324507e66c ("driver core: Allow fwnode_operations.add_links to differentiate errors")
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20200222014038.180923-2-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 1745d299af5b373abad08fa29bff0d31dc6aff21
https: //git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-next)
Bug: 150980623
Change-Id: I15210d65db4660dd315a09ff18f4499768f24378
2020-03-06 16:14:35 -08:00
..
firmware_loader This is the 5.4.14 stable release 2020-01-23 08:37:43 +01:00
power This is the 5.4.19 stable release 2020-02-11 14:09:41 -08:00
regmap regmap: fix writes to non incrementing registers 2020-02-14 16:34:19 -05:00
test driver core: Fix test_async_driver_probe if NUMA is disabled 2020-02-01 09:34:36 +00:00
arch_topology.c ANDROID: cpufreq: arch_topology: implement max frequency capping 2019-10-01 10:36:33 +01:00
attribute_container.c
base.h
bus.c
cacheinfo.c
class.c
component.c component: do not dereference opaque pointer in debugfs 2020-02-01 09:34:35 +00:00
container.c
core.c FROMGIT: driver core: Reevaluate dev->links.need_for_probe as suppliers are added 2020-03-06 16:14:35 -08:00
cpu.c x86/bugs: Add ITLB_MULTIHIT bug infrastructure 2019-11-04 12:22:01 +01:00
dd.c driver core: Print device when resources present in really_probe() 2020-02-24 08:36:47 +01:00
devcon.c
devcoredump.c
devres.c
devtmpfs.c
driver.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c mm/memory_hotplug: fix try_offline_node() 2019-11-15 18:34:00 -08:00
module.c
node.c FROMLIST: scs: add accounting 2019-11-27 12:49:09 -08:00
pinctrl.c
platform-msi.c
platform.c driver core: platform: fix u32 greater or equal to zero comparison 2020-02-24 08:36:55 +01:00
property.c
soc.c UPSTREAM: base: soc: Handle custom soc information sysfs entries 2019-10-17 13:15:53 -07:00
swnode.c software node: Get reference to parent swnode in get_parent op 2020-01-26 10:01:04 +01:00
syscore.c
topology.c
transport_class.c