mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
rtsx: Fix wakeup race similar to sdhci one fixed in 35547df5c7
rtsx copied code from sdhci, and has the same wakeup race bug that was
fixed in 35547df5c7, so apply a similar fix here.
Sponsored by: Netflix
This commit is contained in:
parent
bd9e461cf7
commit
9339e7c0bd
1 changed files with 1 additions and 1 deletions
|
|
@ -3532,8 +3532,8 @@ rtsx_mmcbr_release_host(device_t bus, device_t child __unused)
|
|||
sc = device_get_softc(bus);
|
||||
RTSX_LOCK(sc);
|
||||
sc->rtsx_bus_busy--;
|
||||
RTSX_UNLOCK(sc);
|
||||
wakeup(&sc->rtsx_bus_busy);
|
||||
RTSX_UNLOCK(sc);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue