diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2022-03-07 14:21:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-08 13:38:56 +0000 |
commit | 9a1e13440a4f2e7566fd4c5eae6a53e6400e08a4 (patch) | |
tree | 22759f4b992c12a5a0cecf37c6fb2d67e0eb8c10 /sound/soc/atmel | |
parent | 9fce18ab0bc20fd7c00c6bc880ed7aaea655918b (diff) | |
download | linux-9a1e13440a4f2e7566fd4c5eae6a53e6400e08a4.tar.bz2 |
ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
Even if struct snd_dmaengine_pcm_config is used, prepare_slave_config()
callback might not be set. Check if this callback is set before using it.
Fixes: fa654e085300 ("ASoC: dmaengine-pcm: Provide default config")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20220307122202.2251639-2-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions