Message ID | 20170509213902.37939-6-cbostic@linux.vnet.ibm.com |
---|---|
State | Accepted, archived |
Headers | show |
On Wed, May 10, 2017 at 7:09 AM, Christopher Bostic <cbostic@linux.vnet.ibm.com> wrote: > Unscan all devices whatn a master unregisters - ensures full > cleanup. > > Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> Applied to dev-4.10. Cheers, Joel
diff --git a/drivers/fsi/fsi-core.c b/drivers/fsi/fsi-core.c index d6ea95b..809a3c4 100644 --- a/drivers/fsi/fsi-core.c +++ b/drivers/fsi/fsi-core.c @@ -965,6 +965,7 @@ void fsi_master_unregister(struct fsi_master *master) master_ipoll = NULL; } + fsi_master_unscan(master); device_unregister(&master->dev); } EXPORT_SYMBOL_GPL(fsi_master_unregister);
Unscan all devices whatn a master unregisters - ensures full cleanup. Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> --- drivers/fsi/fsi-core.c | 1 + 1 file changed, 1 insertion(+)