HomeFreeBSD

Add sdhci_handle_card_present_locked() that can be called from the interrupt

Description

Add sdhci_handle_card_present_locked() that can be called from the interrupt
handler which already holds the mutex, and have sdhci_handle_card_present()
be just a tiny wrapper that does the locking for external callers.

This should fix the recursive locking panics seen on rpi3.

Reported by: Shawn Webb

Details

Provenance
ianAuthored on
Parents
rS311796: MFC r310058:
Branches
Unknown
Tags
Unknown