aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/intel/haswell/sst-haswell-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/haswell/sst-haswell-pcm.c b/sound/soc/intel/haswell/sst-haswell-pcm.c
index 157b3a6c509e..23ae0400d6db 100644
--- a/sound/soc/intel/haswell/sst-haswell-pcm.c
+++ b/sound/soc/intel/haswell/sst-haswell-pcm.c
@@ -1103,7 +1103,7 @@ static int hsw_pcm_probe(struct snd_soc_platform *platform)
1103 return 0; 1103 return 0;
1104 1104
1105err: 1105err:
1106 for (;i >= 0; i--) { 1106 for (--i; i >= 0; i--) {
1107 if (hsw_dais[i].playback.channels_min) 1107 if (hsw_dais[i].playback.channels_min)
1108 snd_dma_free_pages(&priv_data->dmab[i][0]); 1108 snd_dma_free_pages(&priv_data->dmab[i][0]);
1109 if (hsw_dais[i].capture.channels_min) 1109 if (hsw_dais[i].capture.channels_min)