ASoC: wcd9335: remove multiple defines.

Message ID 20190703123257.27228-1-srinivas.kandagatla@linaro.org
State Superseded
Headers show
Series
  • ASoC: wcd9335: remove multiple defines.
Related show

Commit Message

Srinivas Kandagatla July 3, 2019, 12:32 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>

---
 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

Comments

Mark Brown July 4, 2019, 4:39 p.m. | #1
On Wed, Jul 03, 2019 at 01:32:57PM +0100, Srinivas Kandagatla wrote:
> Found during review that there are multiple defines of same constants.

> This patch removes them!


This doesn't apply against current code, please check and resend.
_______________________________________________
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 6f205638a8b8..da6c50ccecd9 100644
--- a/sound/soc/codecs/wcd9335.c
+++ b/sound/soc/codecs/wcd9335.c
@@ -87,11 +87,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_MBHC_MAX_BUTTONS	(8)
 
 #define WCD9335_SLIM_RX_CH(p) \