dbdma: prevent STOP from updating xferStatus.

This commit is contained in:
Maxim Poliakovski 2024-11-30 12:09:11 +01:00
parent bd7c424989
commit 04899d6528

View File

@ -189,10 +189,11 @@ void DMAChannel::finish_cmd() {
this->ch_stat |= CH_STAT_BT; this->ch_stat |= CH_STAT_BT;
} }
} }
}
if (res.is_writable) if (res.is_writable)
WRITE_WORD_LE_A(&cmd_desc[14], this->ch_stat | CH_STAT_ACTIVE); WRITE_WORD_LE_A(&cmd_desc[14], this->ch_stat | CH_STAT_ACTIVE);
}
this->ch_stat &= ~(CH_STAT_FLUSH | CH_STAT_BT); this->ch_stat &= ~(CH_STAT_FLUSH | CH_STAT_BT);
// all INPUT and OUTPUT commands including LOAD_QUAD and STORE_QUAD update cmd.resCount // all INPUT and OUTPUT commands including LOAD_QUAD and STORE_QUAD update cmd.resCount