Mika Westerberg
55f89a8a45
driver core: Do not overwrite secondary fwnode with NULL if it is set
...
If multiple devices share single firmware node like it is case with MFD
devices, the same firmware node (ACPI) is assigned to all of them. The
function also modifies the shared firmware node in order to preserve
secondary firmware node of the device in question.
If the new device which is sharing the firmware node does not have
secondary node it will be NULL which will be assigned to the secondary node
of the shared firmware node losing all built-in properties.
Prevent this by setting the secondary firmware node only if the replacement
is non-NULL.
Print also warning if someone tries to overwrite secondary node that has
already been assigned.
Signed-off-by: Mika Westerberg <[email protected] >
Signed-off-by: Andy Shevchenko <[email protected] >
Signed-off-by: Rafael J. Wysocki <[email protected] >
2015-12-07 02:29:23 +01:00
..
power
Merge branches 'pm-domains' and 'pm-cpufreq'
2015-12-04 14:01:42 +01:00
regmap
driver core update for 4.4-rc1
2015-11-04 21:50:37 -08:00
attribute_container.c
attribute_container: fix missing blank lines after declarations
2015-03-25 14:35:09 +01:00
base.h
driver core: correct device's shutdown order
2015-08-05 17:07:19 -07:00
bus.c
driver-core: add asynchronous probing support for drivers
2015-05-20 00:25:24 -07:00
cacheinfo.c
cpu/cacheinfo: Fix teardown path
2015-09-17 06:06:54 -07:00
class.c
class_find_device: fix reference to argument "match"
2015-09-29 15:23:14 +02:00
component.c
container.c
core.c
driver core: Do not overwrite secondary fwnode with NULL if it is set
2015-12-07 02:29:23 +01:00
cpu.c
cpu: Remove bogus __ref annotation of cpu_subsys_online()
2015-08-05 15:18:26 -07:00
dd.c
drivers/pinctrl: Add the concept of an "init" state
2015-10-27 11:24:23 +01:00
devcoredump.c
devres.c
devm: make allocations numa aware by default
2015-10-09 17:00:33 -04:00
devtmpfs.c
VFS: assorted weird filesystems: d_inode() annotations
2015-04-15 15:06:58 -04:00
dma-coherent.c
dma-contiguous.c
driver core update for 4.4-rc1
2015-11-04 21:50:37 -08:00
dma-mapping.c
drivers: base: dma-mapping: Erase blank space after pointer
2015-03-25 14:36:19 +01:00
driver.c
driver core: add missing blank line after declaration
2015-03-25 14:36:30 +01:00
firmware.c
firmware_class.c
firmware: fix wrong memory deallocation in fw_add_devm_name()
2015-08-05 15:18:26 -07:00
hypervisor.c
init.c
drivers: of/base: move of_init to driver_init
2015-05-26 19:55:56 -07:00
isa.c
Kconfig
Makefile
drivers/base: Add MSI domain support for non-PCI devices
2015-07-30 00:14:38 +02:00
map.c
drivers: base: map: Use kmalloc_array instead of kmalloc
2015-03-25 14:35:08 +01:00
memory.c
mm, hotplug: fix concurrent memory hot-add deadlock
2015-04-14 16:49:00 -07:00
module.c
node.c
Revert "mm: Check if section present during memory block (un)registering"
2015-10-13 10:57:25 -07:00
pinctrl.c
drivers/pinctrl: Add the concept of an "init" state
2015-10-27 11:24:23 +01:00
platform-msi.c
irqdomain/msi: Use fwnode instead of of_node
2015-10-13 19:01:25 +02:00
platform.c
driver core: platform: Add support for built-in device properties
2015-12-07 02:29:23 +01:00
property.c
device property: Take a copy of the property set
2015-12-07 02:29:23 +01:00
soc.c
base: soc: siplify ida usage
2015-10-04 19:42:22 +01:00
syscore.c
topology.c
sched/topology: Rename topology_thread_cpumask() to topology_sibling_cpumask()
2015-05-27 15:22:15 +02:00
transport_class.c