commit | 3a906721112263f1698d7752f6f0133c78fc12c2 | [log] [tgz] |
---|---|---|
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | Fri Jan 15 13:56:39 2021 +0900 |
committer | Mark Brown <broonie@kernel.org> | Thu Jan 21 12:38:22 2021 +0000 |
tree | d1e91794524de638adede205059e26422a44d412 | |
parent | fac110cbcddec115c7d4b79d7491aebebbe44469 [diff] |
ASoC: soc-pcm: cleanup soc_pcm_params_symmetry() soc_pcm_params_symmetry() checks rate/channel/sample_bits state. These are very similar but different, thus, it needs to have very verbose code. This patch use macro for it and make code more simple. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/878s8un6si.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>