Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: codecs: wcd939x: Minor white-space and define cleanup

Correct white-space issues and drop unused
WCD939X_MBHC_IS_SECOND_RAMP_REQUIRED() define. No functional impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240523104228.36263-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
6f80324b 42cef39b

+1 -3
+1 -3
sound/soc/codecs/wcd939x.c
··· 85 85 #define WCD939X_MBHC_GET_X1(x) ((x) & 0x3FFF) 86 86 87 87 /* Z value compared in milliOhm */ 88 - #define WCD939X_MBHC_IS_SECOND_RAMP_REQUIRED(z) false 89 88 #define WCD939X_ANA_MBHC_ZDET_CONST (1018 * 1024) 90 89 91 90 enum { ··· 524 525 WCD939X_DIGITAL_CDC_COMP_CTL_0, 525 526 WCD939X_CDC_COMP_CTL_0_HPHL_COMP_EN, 526 527 true); 527 - /* 5msec compander delay as per HW requirement */ 528 + /* 5msec compander delay as per HW requirement */ 528 529 if (!wcd939x->comp2_enable || 529 530 snd_soc_component_read_field(component, 530 531 WCD939X_DIGITAL_CDC_COMP_CTL_0, ··· 1868 1869 1869 1870 static bool wcd939x_mbhc_micb_en_status(struct snd_soc_component *component, int micb_num) 1870 1871 { 1871 - 1872 1872 if (micb_num == MIC_BIAS_2) { 1873 1873 u8 val; 1874 1874