ASoC: Merge up fixes
authorMark Brown <broonie@kernel.org>
Wed, 9 Aug 2023 23:19:02 +0000 (00:19 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 9 Aug 2023 23:19:02 +0000 (00:19 +0100)
For the benefit of CI

1  2 
sound/soc/codecs/max98363.c
sound/soc/fsl/fsl_micfil.c
sound/soc/fsl/fsl_micfil.h
sound/soc/intel/boards/sof_sdw.c
sound/soc/sof/intel/hda-dai-ops.c
sound/soc/sof/intel/hda-dai.c
sound/soc/sof/intel/hda.h
sound/soc/sof/ipc3.c
sound/soc/sof/ipc4-topology.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 0196cbfc0998a35a74f6f3a29d908ff7dae6bd99,11361e1cd6881b9ddde1b87a910c6449b62228c6..b436638226131f705e246fef70224fee48c02cb6
@@@ -1731,6 -1731,9 +1731,12 @@@ sof_ipc4_prepare_copier_module(struct s
  
        *ipc_config_size = ipc_size;
  
+       /* update pipeline memory usage */
+       sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
++      /* update pipeline memory usage */
++      sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
++
        /* copy IPC data */
        memcpy(*ipc_config_data, (void *)copier_data, sizeof(*copier_data));
        if (gtw_cfg_config_length)
                       gtw_cfg_config_length,
                       &ipc4_copier->dma_config_tlv, dma_config_tlv_size);
  
-       /* update pipeline memory usage */
-       sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config);
 +      /*
 +       * Restore gateway config length now that IPC payload is prepared. This avoids
 +       * counting the DMA CONFIG TLV multiple times
 +       */
 +      copier_data->gtw_cfg.config_length = gtw_cfg_config_length / 4;
 +
        return 0;
  }