diff options
author | Erik Bussing <[email protected]> | 2020-01-15 17:46:16 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-01-17 15:41:42 +0000 |
commit | 332719b1840b9bf3e09938d1fda566f414fcf0e6 (patch) | |
tree | 6e18b6b3a3dfd04b642130fcc2bcfb5ed4e0b95a /lib/mpi/mpi-mul.c | |
parent | 00d852326e524214f046a5e1301eee84535a6863 (diff) |
ASoC: Intel: bytcr_rt5640: Remove code duplication in byt_rt5640_codec_fixup
The 16 and 24 bit paths in byt_rt5640_codec_fixup are mostly identical,
introduce a local bits variable to address the only difference and move
the common bits out of the if ... else ... .
Signed-off-by: Erik Bussing <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions