aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2020-05-14 22:34:59 -0700
committerGreg Kroah-Hartman <[email protected]>2020-05-15 16:34:52 +0200
commit716a7a25969003d82ab738179c3f1068a120ed11 (patch)
tree797f2e264d46d265342ff14319fe5b496a223fd3 /drivers/fpga/fpga-bridge.c
parent5f5377eaddfc24e5d7562e588d0ff84f9264d7c1 (diff)
driver core: fw_devlink: Add support for batching fwnode parsing
The amount of time spent parsing fwnodes of devices can become really high if the devices are added in an non-ideal order. Worst case can be O(N^2) when N devices are added. But this can be optimized to O(N) by adding all the devices and then parsing all their fwnodes in one batch. This commit adds fw_devlink_pause() and fw_devlink_resume() to allow doing this. Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions