Message ID | 87o8ty9cvz.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | 4c260c3f19bd16e6b11841aad1162f5a105ed24e |
Headers | show |
Series | ASoC: soc-pcm cleanup step3 | expand |
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index b05091c283b7..5d1bc5757169 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -529,7 +529,7 @@ static void lpass_platform_pcm_free(struct snd_soc_component *component, struct snd_pcm_substream *substream; int i; - for (i = 0; i < ARRAY_SIZE(pcm->streams); i++) { + for_each_pcm_streams(i) { substream = pcm->streams[i].substream; if (substream) { snd_dma_free_pages(&substream->dma_buffer);