HomeFreeBSD

vf_i2c: Don't hold a mutex across bus_generic_detach

Description

vf_i2c: Don't hold a mutex across bus_generic_detach

This was also leaking the lock if bus_generic_detach failed.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47221

Details

Provenance
jhbAuthored on Thu, Oct 31, 7:49 PM
Reviewer
imp
Differential Revision
D47221: vf_i2c: Don't hold a mutex across bus_generic_detach
Parents
rGf2e50ce0a37a: ignore_pci: Add a proper stub attach routine
Branches
Unknown
Tags
Unknown