Merge remote-tracking branch 'sound-asoc/for-next'
[linux] / sound / soc / intel / haswell / sst-haswell-pcm.c
index f21a7f2..e023c4c 100644 (file)
@@ -544,7 +544,7 @@ static int hsw_pcm_hw_params(struct snd_pcm_substream *substream,
                dev_err(rtd->dev, "error: invalid DAI ID %d\n",
                        rtd->cpu_dai->id);
                return -EINVAL;
-       };
+       }
 
        ret = sst_hsw_stream_format(hsw, pcm_data->stream,
                path_id, stream_type, SST_HSW_STREAM_FORMAT_PCM_FORMAT);
@@ -861,7 +861,7 @@ static int hsw_pcm_close(struct snd_pcm_substream *substream)
                dev_dbg(rtd->dev, "error: free stream failed %d\n", ret);
                goto out;
        }
-       pcm_data->allocated = 0;
+       pcm_data->allocated = false;
        pcm_data->stream = NULL;
 
 out: