aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSaravana Kannan <[email protected]>2023-03-03 16:53:54 -0800
committerGreg Kroah-Hartman <[email protected]>2023-03-10 09:06:22 +0100
commitf8fb576658a3e19796e2e1a12a5ec8f44dac02b6 (patch)
tree754eb365da8989ddeebdd90206ee61ef7f799246 /drivers/fpga/fpga-mgr.c
parentffbe08a8e86d03513dc45b5389fab7f3477433b6 (diff)
driver core: Make state_synced device attribute writeable
If the file is written to and sync_state() hasn't been called for the device yet, then call sync_state() for the device independent of the state of its consumers. This is useful for supplier devices that have one or more consumers that don't have a driver but the consumers are in a state that don't use the resources supplied by the supplier device. This gives finer grained control than using the fw_devlink.sync_state=timeout kernel commandline parameter. 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-mgr.c')
0 files changed, 0 insertions, 0 deletions