diff options
| author | Shengjiu Wang <[email protected]> | 2022-01-20 02:44:02 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-01-24 13:31:57 +0000 |
| commit | 88c62b16281e5fe748f22f44da3def8a91fb1c34 (patch) | |
| tree | 7059deeaeee3b5f06edab0224accfc26979524d4 /sound/soc/codecs/lpass-tx-macro.c | |
| parent | ASoC: samsung: remove unneeded ret variable (diff) | |
| download | kernel-88c62b16281e5fe748f22f44da3def8a91fb1c34.tar.gz kernel-88c62b16281e5fe748f22f44da3def8a91fb1c34.zip | |
ASoC: soc-generic-dmaengine-pcm: separate max_buffer_size assignment
The config->pcm_hardware may be NULL when config->prealloc_buffer_size
is not zero, so it is better to move max_buffer_size assignment under
a separate condition.
Signed-off-by: Shengjiu Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
0 files changed, 0 insertions, 0 deletions
