Skip to content
Unverified Commit 332719b1 authored by Erik Bussing's avatar Erik Bussing Committed by Mark Brown
Browse files

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: default avatarErik Bussing <eabbussing@outlook.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200115164619.101705-2-hdegoede@redhat.com


Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 00d85232
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment