diff mbox series

[4/4] ASoC: codecs: wcd939x: Minor white-space and define cleanup

Message ID 20240523104228.36263-4-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit 6f80324bc1317f50f1c25c6d65a8dbef417aeba4
Headers show
Series [1/4] ASoC: codecs: wcd938x: Drop unused duplicated MIC2 bias register defines | expand

Commit Message

Krzysztof Kozlowski May 23, 2024, 10:42 a.m. UTC
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>
---
 sound/soc/codecs/wcd939x.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/wcd939x.c b/sound/soc/codecs/wcd939x.c
index 201592c728c3..770bc2f35ba7 100644
--- a/sound/soc/codecs/wcd939x.c
+++ b/sound/soc/codecs/wcd939x.c
@@ -85,7 +85,6 @@  enum {
 #define WCD939X_MBHC_GET_X1(x)		((x) & 0x3FFF)
 
 /* Z value compared in milliOhm */
-#define WCD939X_MBHC_IS_SECOND_RAMP_REQUIRED(z) false
 #define WCD939X_ANA_MBHC_ZDET_CONST	(1018 * 1024)
 
 enum {
@@ -525,7 +524,7 @@  static int wcd939x_codec_hphl_dac_event(struct snd_soc_dapm_widget *w,
 						      WCD939X_DIGITAL_CDC_COMP_CTL_0,
 						      WCD939X_CDC_COMP_CTL_0_HPHL_COMP_EN,
 						      true);
-			 /* 5msec compander delay as per HW requirement */
+			/* 5msec compander delay as per HW requirement */
 			if (!wcd939x->comp2_enable ||
 			    snd_soc_component_read_field(component,
 							 WCD939X_DIGITAL_CDC_COMP_CTL_0,
@@ -1869,7 +1868,6 @@  static void wcd939x_mbhc_program_btn_thr(struct snd_soc_component *component,
 
 static bool wcd939x_mbhc_micb_en_status(struct snd_soc_component *component, int micb_num)
 {
-
 	if (micb_num == MIC_BIAS_2) {
 		u8 val;