[v2] ASoC: wcd9335: remove multiple defines.

Message ID 20190704165410.7173-1-srinivas.kandagatla@linaro.org
State Accepted
Commit c150266f592bc0baf1de515ca793ef839f645fc8
Headers show
Series
  • [v2] ASoC: wcd9335: remove multiple defines.
Related show

Commit Message

Srinivas Kandagatla July 4, 2019, 4:54 p.m.
Found during review that there are multiple defines of same constants.
This patch removes them!

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
Changes since v1:
	rebased on top of kernel/git/broonie/sound.git for-next

 sound/soc/codecs/wcd9335.c | 5 -----
 1 file changed, 5 deletions(-)

-- 
2.21.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Patch

diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c
index 85737fe54474..1bbbe421b999 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -86,11 +86,6 @@ 
 #define WCD9335_DEC_PWR_LVL_HP 0x04
 #define WCD9335_DEC_PWR_LVL_DF 0x00
 
-#define  TX_HPF_CUT_OFF_FREQ_MASK	0x60
-#define  CF_MIN_3DB_4HZ			0x0
-#define  CF_MIN_3DB_75HZ		0x1
-#define  CF_MIN_3DB_150HZ		0x2
-
 #define WCD9335_SLIM_RX_CH(p) \
 	{.port = p + WCD9335_RX_START, .shift = p,}