@@ -120,7 +120,7 @@ int module_init(struct processing_module *mod)
120120 mod -> priv .resources .rsrc_mngr = k_current_get ();
121121#endif
122122 /* Now we can proceed with module specific initialization */
123- #if CONFIG_USERSPACE && ! CONFIG_SOF_USERSPACE_PROXY
123+ #if CONFIG_SOF_USERSPACE_APPLICATION
124124 if (mod -> dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP )
125125 ret = scheduler_dp_thread_ipc (mod , SOF_IPC4_MOD_INIT_INSTANCE , NULL );
126126 else
@@ -501,7 +501,7 @@ int module_prepare(struct processing_module *mod,
501501 if (ops -> prepare ) {
502502 int ret ;
503503
504- #if CONFIG_USERSPACE && ! CONFIG_SOF_USERSPACE_PROXY
504+ #if CONFIG_SOF_USERSPACE_APPLICATION
505505 if (dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP ) {
506506 const union scheduler_dp_thread_ipc_param param = {
507507 .pipeline_state = {
@@ -638,11 +638,11 @@ int module_reset(struct processing_module *mod)
638638
639639 /* cancel task if DP task*/
640640 if (mod -> dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP && mod -> dev -> task &&
641- ( IS_ENABLED ( CONFIG_SOF_USERSPACE_PROXY ) || !IS_ENABLED (CONFIG_USERSPACE ) ))
641+ !IS_ENABLED (CONFIG_SOF_USERSPACE_APPLICATION ))
642642 schedule_task_cancel (mod -> dev -> task );
643643
644644 if (ops -> reset ) {
645- #if CONFIG_USERSPACE && ! CONFIG_SOF_USERSPACE_PROXY
645+ #if CONFIG_SOF_USERSPACE_APPLICATION
646646 if (mod -> dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP ) {
647647 const union scheduler_dp_thread_ipc_param param = {
648648 .pipeline_state .trigger_cmd = COMP_TRIGGER_STOP ,
@@ -723,7 +723,7 @@ int module_free(struct processing_module *mod)
723723 int ret = 0 ;
724724
725725 if (ops -> free && (mod -> dev -> ipc_config .proc_domain != COMP_PROCESSING_DOMAIN_DP ||
726- IS_ENABLED ( CONFIG_SOF_USERSPACE_PROXY ) || !IS_ENABLED (CONFIG_USERSPACE ))) {
726+ !IS_ENABLED (CONFIG_SOF_USERSPACE_APPLICATION ))) {
727727 ret = ops -> free (mod );
728728 if (ret )
729729 comp_warn (mod -> dev , "error: %d" , ret );
@@ -869,7 +869,7 @@ int module_bind(struct processing_module *mod, struct bind_info *bind_data)
869869 return ret ;
870870
871871 if (ops -> bind ) {
872- #if CONFIG_USERSPACE && ! CONFIG_SOF_USERSPACE_PROXY
872+ #if CONFIG_SOF_USERSPACE_APPLICATION
873873 if (mod -> dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP ) {
874874 const union scheduler_dp_thread_ipc_param param = {
875875 .bind_data = bind_data ,
@@ -902,7 +902,7 @@ int module_unbind(struct processing_module *mod, struct bind_info *unbind_data)
902902 return ret ;
903903
904904 if (ops -> unbind ) {
905- #if CONFIG_USERSPACE && ! CONFIG_SOF_USERSPACE_PROXY
905+ #if CONFIG_SOF_USERSPACE_APPLICATION
906906 if (mod -> dev -> ipc_config .proc_domain == COMP_PROCESSING_DOMAIN_DP ) {
907907 const union scheduler_dp_thread_ipc_param param = {
908908 .bind_data = unbind_data ,
0 commit comments