bcm2835_sdhci: drop an assert in start_dma_seg
Trivial change to clarify locking expectations... no functional change.
This commit is contained in:
parent
b5e10686a8
commit
9aacc7b9f6
@ -520,6 +520,7 @@ bcm_sdhci_start_dma_seg(struct bcm_sdhci_softc *sc)
|
||||
int err, idx, len, sync_op, width;
|
||||
|
||||
slot = &sc->sc_slot;
|
||||
mtx_assert(&slot->mtx, MA_OWNED);
|
||||
idx = sc->dmamap_seg_index++;
|
||||
len = sc->dmamap_seg_sizes[idx];
|
||||
slot->offset += len;
|
||||
|
Loading…
Reference in New Issue
Block a user