HomeFreeBSD

Don't call sdhci_cleanup_slot() if sdhci_init_slot() never got called.

Description

Don't call sdhci_cleanup_slot() if sdhci_init_slot() never got called.
Also, do callout_init() very early in attach, so that callout_drain()
can be called in detach without worrying about whether it ever got init'd.

Details

Provenance
ianAuthored on
Parents
rS329479: Do not try to deallocate memory that wasn't allocated (you'd think that
Branches
Unknown
Tags
Unknown