File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ static struct comp_dev *dai_new(struct sof_ipc_comp *comp)
199199 switch (dai -> type ) {
200200 case SOF_DAI_INTEL_HDA :
201201 dir = dai -> direction == SOF_IPC_STREAM_PLAYBACK ?
202- DMA_DIR_DEV_TO_MEM : DMA_DIR_MEM_TO_DEV ;
202+ DMA_DIR_MEM_TO_DEV : DMA_DIR_DEV_TO_MEM ;
203203 caps = DMA_CAP_HDA ;
204204 dma_dev = DMA_DEV_HDA ;
205205 break ;
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ struct dma dma[PLATFORM_NUM_DMACS] = {
182182{ /* Link In DMAC */
183183 .plat_data = {
184184 .id = DMA_LINK_IN_DMAC ,
185- .dir = DMA_DIR_MEM_TO_DEV ,
185+ .dir = DMA_DIR_DEV_TO_MEM ,
186186 .caps = DMA_CAP_HDA ,
187187 .devs = DMA_DEV_HDA ,
188188 .base = GTW_LINK_IN_STREAM_BASE (0 ),
@@ -195,7 +195,7 @@ struct dma dma[PLATFORM_NUM_DMACS] = {
195195{ /* Link out DMAC */
196196 .plat_data = {
197197 .id = DMA_LINK_OUT_DMAC ,
198- .dir = DMA_DIR_DEV_TO_MEM ,
198+ .dir = DMA_DIR_MEM_TO_DEV ,
199199 .caps = DMA_CAP_HDA ,
200200 .devs = DMA_DEV_HDA ,
201201 .base = GTW_LINK_OUT_STREAM_BASE (0 ),
You can’t perform that action at this time.
0 commit comments