aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/property.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-11-30 17:11:36 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-07 02:29:23 +0100
commit362c0b30249e8639489b428ff5acc4a9d81c087f (patch)
tree2b0bc55881b87c6cfb0eeb3a88003c6e4cfb3d7b /include/linux/property.h
parentdevice property: return -EINVAL when property isn't found in ACPI (diff)
downloadlinux-dev-362c0b30249e8639489b428ff5acc4a9d81c087f.tar.xz
linux-dev-362c0b30249e8639489b428ff5acc4a9d81c087f.zip
device property: Fallback to secondary fwnode if primary misses the property
The struct fwnode has notion of secondary fwnode. This is supposed to used as fallback if the primary firmware interface (DT, ACPI) does not have the property in question. However, the current implementation never checks the secondary node which prevents one to add default "built-in" properties to devices. This patch adds fallback to the secondary fwnode if the primary fwnode returns that the property does not exists. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/property.h')
0 files changed, 0 insertions, 0 deletions