Skip to content

Commit 8b7793f

Browse files
Codrin Ciubotariucristibirsan
authored andcommitted
ASoC: atmel: mchp-pdmc: set prepare_slave_config
Since a pointer to struct snd_dmaengine_pcm_config is passed, snd_dmaengine_pcm_prepare_slave_config() is no longer called unless it's explicitly set in prepare_slave_config. Fixes: 5029165 ("ASoC: atmel: mchp-pdmc: add PDMC driver") Suggested-by: Sascha Hauer <sha@pengutronix.de> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent d6afaa1 commit 8b7793f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/atmel/mchp-pdmc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,7 @@ static int mchp_pdmc_process(struct snd_pcm_substream *substream,
955955

956956
static struct snd_dmaengine_pcm_config mchp_pdmc_config = {
957957
.process = mchp_pdmc_process,
958+
.prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config,
958959
};
959960

960961
static int mchp_pdmc_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)