|
@@ -357,14 +357,14 @@ static void sst_media_close(struct snd_pcm_substream *substream,
|
|
|
struct snd_soc_dai *dai)
|
|
|
{
|
|
|
struct sst_runtime_stream *stream;
|
|
|
- int ret_val = 0, str_id;
|
|
|
+ int str_id;
|
|
|
|
|
|
stream = substream->runtime->private_data;
|
|
|
power_down_sst(stream);
|
|
|
|
|
|
str_id = stream->stream_info.str_id;
|
|
|
if (str_id)
|
|
|
- ret_val = stream->ops->close(sst->dev, str_id);
|
|
|
+ stream->ops->close(sst->dev, str_id);
|
|
|
module_put(sst->dev->driver->owner);
|
|
|
kfree(stream);
|
|
|
}
|