diff options
author | Erik Bussing <eabbussing@outlook.com> | 2020-01-15 17:46:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-17 15:41:42 +0000 |
commit | 332719b1840b9bf3e09938d1fda566f414fcf0e6 (patch) | |
tree | 6e18b6b3a3dfd04b642130fcc2bcfb5ed4e0b95a /scripts/gdb/linux/utils.py | |
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 <eabbussing@outlook.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200115164619.101705-2-hdegoede@redhat.com
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions