File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,8 +360,8 @@ static int dai_params(struct comp_dev *dev)
360360 return - EINVAL ;
361361 }
362362
363- /* get DMA channel, once the stream_tag is known */
364- dd -> chan = dma_channel_get (dd -> dma , dev -> params .stream_tag );
363+ /* get DMA channel, once the backend dma channel is known */
364+ dd -> chan = dma_channel_get (dd -> dma , dev -> params .be_dma_ch );
365365 if (dd -> chan < 0 ) {
366366 trace_dai_error ("eDc" );
367367 return - EINVAL ;
Original file line number Diff line number Diff line change @@ -515,11 +515,10 @@ static int host_params(struct comp_dev *dev)
515515 host_elements_reset (dev );
516516#endif
517517
518- dev -> params .stream_tag -= 1 ;
519518 /* get DMA channel from DMAC
520- * note: stream_tag is ignored by dw-dma
519+ * note: host_dma_ch is ignored by dw-dma
521520 */
522- hd -> chan = dma_channel_get (hd -> dma , dev -> params .stream_tag );
521+ hd -> chan = dma_channel_get (hd -> dma , dev -> params .host_dma_ch );
523522 if (hd -> chan < 0 ) {
524523 trace_host_error ("eDC" );
525524 return - ENODEV ;
Original file line number Diff line number Diff line change @@ -500,7 +500,8 @@ struct sof_ipc_stream_params {
500500 enum sof_ipc_stream_direction direction ;
501501 enum sof_ipc_frame frame_fmt ;
502502 enum sof_ipc_buffer_format buffer_fmt ;
503- uint32_t stream_tag ;
503+ uint32_t host_dma_ch ;
504+ uint32_t be_dma_ch ;
504505 uint32_t rate ;
505506 uint32_t channels ;
506507 uint32_t sample_valid_bytes ;
You can’t perform that action at this time.
0 commit comments