File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,6 @@ CrorcDmaChannel::CrorcDmaChannel(const Parameters& parameters)
9393
9494 getReadyFifoUser ()->reset ();
9595 mDmaBufferUserspace = getBufferProvider ().getAddress ();
96-
97- if (mDataSource == DataSource::Fee || mDataSource == DataSource::Siu) {
98- deviceResetChannel (ResetLevel::InternalSiu);
99- } else {
100- deviceResetChannel (ResetLevel::Internal);
101- }
10296}
10397
10498auto CrorcDmaChannel::allowedChannels () -> AllowedChannels
@@ -112,6 +106,12 @@ CrorcDmaChannel::~CrorcDmaChannel()
112106
113107void CrorcDmaChannel::deviceStartDma ()
114108{
109+ if (mDataSource == DataSource::Fee || mDataSource == DataSource::Siu) {
110+ deviceResetChannel (ResetLevel::InternalSiu);
111+ } else {
112+ deviceResetChannel (ResetLevel::Internal);
113+ }
114+
115115 startDataReceiving ();
116116
117117 log (" DMA start deferred until enough superpages available" );
You can’t perform that action at this time.
0 commit comments