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: Diana Craciun <diana.craciun@oss.nxp.com> Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Link: https://lore.kernel.org/r/20210922110530.24736-1-diana.craciun@oss.nxp.comSigned-off-by: Alex Williamson <alex.williamson@redhat.com>
Showing
drivers/bus/fsl-mc/obj-api.c
0 → 100644
Please register or sign in to comment