Skip to content
Commit fec2432c authored by Diana Craciun's avatar Diana Craciun Committed by Alex Williamson
Browse files

bus/fsl-mc: Add generic implementation for open/reset/close commands



The open/reset/close commands format is similar for all objects.
Currently there are multiple implementations for these commands
scattered through various drivers. The code is cavsi-identical.
Create a generic implementation for the open/reset/close commands.
One of the consumer will be the VFIO driver which needs to
be able to reset a device.

Signed-off-by: default avatarDiana Craciun <diana.craciun@oss.nxp.com>
Reviewed-by: default avatarLaurentiu Tudor <laurentiu.tudor@nxp.com>
Link: https://lore.kernel.org/r/20210922110530.24736-1-diana.craciun@oss.nxp.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 5816b3e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment