@@ -1619,7 +1619,7 @@ static int sof_ipc3_route_setup(struct snd_sof_dev *sdev, struct snd_sof_route *
16191619 sroute -> sink_widget -> widget -> name );
16201620
16211621 /* send ipc */
1622- ret = sof_ipc_tx_message (sdev -> ipc , & connect , sizeof (connect ), NULL , 0 );
1622+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , & connect , sizeof (connect ));
16231623 if (ret < 0 )
16241624 dev_err (sdev -> dev , "%s: route %s -> %s failed\n" , __func__ ,
16251625 sroute -> src_widget -> widget -> name , sroute -> sink_widget -> widget -> name );
@@ -1765,7 +1765,7 @@ static int sof_ipc3_control_free(struct snd_sof_dev *sdev, struct snd_sof_contro
17651765 fcomp .id = scontrol -> comp_id ;
17661766
17671767 /* send IPC to the DSP */
1768- return sof_ipc_tx_message (sdev -> ipc , & fcomp , sizeof (fcomp ), NULL , 0 );
1768+ return sof_ipc_tx_message_no_reply (sdev -> ipc , & fcomp , sizeof (fcomp ));
17691769}
17701770
17711771/* send pcm params ipc */
@@ -1816,7 +1816,7 @@ static int sof_ipc3_keyword_detect_pcm_params(struct snd_sof_widget *swidget, in
18161816 }
18171817
18181818 /* send IPC to the DSP */
1819- ret = sof_ipc_tx_message (sdev -> ipc , & pcm , sizeof (pcm ), NULL , 0 );
1819+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , & pcm , sizeof (pcm ));
18201820 if (ret < 0 )
18211821 dev_err (scomp -> dev , "%s: PCM params failed for %s\n" , __func__ ,
18221822 swidget -> widget -> name );
@@ -1838,7 +1838,7 @@ static int sof_ipc3_keyword_detect_trigger(struct snd_sof_widget *swidget, int c
18381838 stream .comp_id = swidget -> comp_id ;
18391839
18401840 /* send IPC to the DSP */
1841- ret = sof_ipc_tx_message (sdev -> ipc , & stream , sizeof (stream ), NULL , 0 );
1841+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , & stream , sizeof (stream ));
18421842 if (ret < 0 )
18431843 dev_err (scomp -> dev , "%s: Failed to trigger %s\n" , __func__ , swidget -> widget -> name );
18441844
@@ -1965,7 +1965,7 @@ static int sof_ipc3_complete_pipeline(struct snd_sof_dev *sdev, struct snd_sof_w
19651965 ready .hdr .cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_PIPE_COMPLETE ;
19661966 ready .comp_id = swidget -> comp_id ;
19671967
1968- ret = sof_ipc_tx_message (sdev -> ipc , & ready , sizeof (ready ), NULL , 0 );
1968+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , & ready , sizeof (ready ));
19691969 if (ret < 0 )
19701970 return ret ;
19711971
@@ -2000,7 +2000,7 @@ static int sof_ipc3_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget
20002000 break ;
20012001 }
20022002
2003- ret = sof_ipc_tx_message (sdev -> ipc , & ipc_free , sizeof (ipc_free ), NULL , 0 );
2003+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , & ipc_free , sizeof (ipc_free ));
20042004 if (ret < 0 )
20052005 dev_err (sdev -> dev , "failed to free widget %s\n" , swidget -> widget -> name );
20062006
@@ -2062,7 +2062,7 @@ static int sof_ipc3_dai_config(struct snd_sof_dev *sdev, struct snd_sof_widget *
20622062
20632063 /* only send the IPC if the widget is set up in the DSP */
20642064 if (swidget -> use_count > 0 ) {
2065- ret = sof_ipc_tx_message (sdev -> ipc , config , config -> hdr .size , NULL , 0 );
2065+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , config , config -> hdr .size );
20662066 if (ret < 0 )
20672067 dev_err (sdev -> dev , "Failed to set dai config for %s\n" , dai -> name );
20682068 }
@@ -2085,23 +2085,23 @@ static int sof_ipc3_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget
20852085 struct sof_dai_private_data * dai_data = dai -> private ;
20862086 struct sof_ipc_comp * comp = & dai_data -> comp_dai -> comp ;
20872087
2088- ret = sof_ipc_tx_message (sdev -> ipc , dai_data -> comp_dai , comp -> hdr .size , NULL , 0 );
2088+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , dai_data -> comp_dai , comp -> hdr .size );
20892089 break ;
20902090 }
20912091 case snd_soc_dapm_scheduler :
20922092 {
20932093 struct sof_ipc_pipe_new * pipeline ;
20942094
20952095 pipeline = swidget -> private ;
2096- ret = sof_ipc_tx_message (sdev -> ipc , pipeline , sizeof (* pipeline ), NULL , 0 );
2096+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , pipeline , sizeof (* pipeline ));
20972097 break ;
20982098 }
20992099 default :
21002100 {
21012101 struct sof_ipc_cmd_hdr * hdr ;
21022102
21032103 hdr = swidget -> private ;
2104- ret = sof_ipc_tx_message (sdev -> ipc , swidget -> private , hdr -> size , NULL , 0 );
2104+ ret = sof_ipc_tx_message_no_reply (sdev -> ipc , swidget -> private , hdr -> size );
21052105 break ;
21062106 }
21072107 }
0 commit comments