ASoC: add for_each_dpcm_be() macro
To be more readable code, this patch adds new for_each_dpcm_be() macro, and replace existing code to it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mark Brown

vecāks
d2e24d6465
revīzija
8d6258a4dd
@@ -151,7 +151,7 @@ static int fsl_asrc_dma_hw_params(struct snd_pcm_substream *substream,
|
||||
int ret;
|
||||
|
||||
/* Fetch the Back-End dma_data from DPCM */
|
||||
list_for_each_entry(dpcm, &rtd->dpcm[stream].be_clients, list_be) {
|
||||
for_each_dpcm_be(rtd, stream, dpcm) {
|
||||
struct snd_soc_pcm_runtime *be = dpcm->be;
|
||||
struct snd_pcm_substream *substream_be;
|
||||
struct snd_soc_dai *dai = be->cpu_dai;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user