@@ -1034,12 +1034,6 @@ static int clsic_alg_compr_open(struct snd_compr_stream *stream)
10341034 return - EBUSY ;
10351035 }
10361036
1037- /*
1038- * Mark the msgproc as in use whilst the compressed stream is open
1039- * to prevent the shutdown cmd being issued.
1040- */
1041- clsic_msgproc_use (alg -> clsic , alg -> service -> service_instance );
1042-
10431037 clsic_dbg (clsic , "%s\n" , rtd -> codec_dai -> name );
10441038
10451039 pm_runtime_get_sync (clsic -> dev );
@@ -1055,9 +1049,6 @@ static int clsic_alg_compr_open(struct snd_compr_stream *stream)
10551049 "Open compr stream for DAI '%s' failed %d\n" ,
10561050 rtd -> codec_dai -> name , ret );
10571051
1058- clsic_msgproc_release (alg -> clsic ,
1059- alg -> service -> service_instance );
1060-
10611052 module_put (clsic -> dev -> driver -> owner );
10621053 module_put (alg -> codec -> component .card -> owner );
10631054 pm_runtime_put_autosuspend (clsic -> dev );
@@ -1143,9 +1134,6 @@ static int clsic_alg_compr_free(struct snd_compr_stream *stream)
11431134 ret , rtd -> codec_dai -> name );
11441135 }
11451136
1146- /* Release the msgproc when the compressed stream is freed. */
1147- clsic_msgproc_release (alg -> clsic , alg -> service -> service_instance );
1148-
11491137 module_put (clsic -> dev -> driver -> owner );
11501138 module_put (alg -> codec -> component .card -> owner );
11511139 pm_runtime_put_autosuspend (clsic -> dev );
0 commit comments