If an error during attach caused us to detach our resources,
authorkevlo <kevlo@openbsd.org>
Mon, 9 Aug 2021 12:59:53 +0000 (12:59 +0000)
committerkevlo <kevlo@openbsd.org>
Mon, 9 Aug 2021 12:59:53 +0000 (12:59 +0000)
commitb52bff80cab51c4fa842580fba2bca01f091147b
tree62c835f6ce12c348772e4807f3bde5bac6150262
parent3daf796fe556d8c2406cd638da9a11f743cdc1a8
If an error during attach caused us to detach our resources,
don't do anything on shutdown.

This fixes a panic that was reported by me on X1 Extreme Gen 1.

ok ratchov@
sys/dev/pci/azalia.c