From patchwork Wed Jul 3 12:32:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 168417 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp839746ilk; Wed, 3 Jul 2019 05:33:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyfF1CUF9A0F31/7mdqWkEcCVoNH3zV424OIpOpaAffewp0nEKDsboXuMrYRD2Cp9i2sT+ X-Received: by 2002:adf:ec49:: with SMTP id w9mr27095064wrn.303.1562157236734; Wed, 03 Jul 2019 05:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562157236; cv=none; d=google.com; s=arc-20160816; b=Ogw0EeJM4SOMJwPrO/WzobxWuGV7eHuTv86gwJXhWiFezlow5ZiW6ODBnhptdFYTLO 5I9/zdQucnPFgKgv4x9DspPk41bf0edFXBvbws5Vg+pUtrs9hAT0xMYilwhns1TVNnKU 2zQe19+i7x0su4SXEoxQwDGANrQQ94z29v2ePTn4EDv6U8SFRJNIHMSqY3RySXYkK8GE hm46DhgG1Nqafkvm5ThbD1BTUBEbIPnZXphIr9OD9GXcMeN5dkkMW3HVRKZ7gTUCe5nN NqkA0JSxGBuRd6uM98dHvNnGZ+xJ25+O1un0YkYXgZzz/gFTNT0yqM33TqwPHBmdnhze /HVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:dkim-filter :delivered-to:dkim-signature:dkim-filter; bh=SGxMXJyTcNnwlbC4PP8hc0H6NHRtUiU7pgBdYEIlVY4=; b=AtSS/eGwyPulSDeUPpkm4heK2iakieRMivYfl6DaDmccTEI6XphPbUKxLmqhiu9+sT 2esArh3fZtwWbQe2o6pdIs5vXFrV/okZLOGWKZT+ApA04MhV6xtQjavRpCb7KhWc8kFc YxScDO8Br3dRDod/NSFGSpMqjLAAX5TRHzFTSO35rm8c9S4PEBBB+2RwzHwlcbTq7oGD smnmBmbViiHj7hJdt5oJJh3SyK82dE+4RpLWmop+TqBjvxPGmvOHblxo4SObZ7Ns1iJL 2ebYl7eXHndmdlVXNTXCu/74b45knlAcsLkHhEJZLbTRY8exlh4Walu2XBndr2PLVEZi 5PXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=pq17oWbA; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lijGmtWq; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id u16si1833012wrr.446.2019.07.03.05.33.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 05:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=pq17oWbA; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lijGmtWq; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B07BC16A1; Wed, 3 Jul 2019 14:33:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B07BC16A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1562157235; bh=veWbSH4+oi9lAfQQcCHyDvstQo1Cr6jgmOIOJKWefVM=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=pq17oWbAGdOI2HqekxOIi1RrcFg2bDoJDa5/UYg9j+FU4o73geyf/UFEZj3yVNUcj gAFl09+LKXDqjEo/MRqsTe/VR9ZN+rv5OiMYGOXDK9b3gaEHxz/yJkhYSG5f+UHAA/ HJ+qWanFZLtNB7klcvgCOViU9tCh5xfiVCU+MAEM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4E77BF800E9; Wed, 3 Jul 2019 14:33:05 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2D5DEF800EA; Wed, 3 Jul 2019 14:33:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C5D45F800C5 for ; Wed, 3 Jul 2019 14:33:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C5D45F800C5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lijGmtWq" Received: by mail-wm1-x343.google.com with SMTP id a15so2020357wmj.5 for ; Wed, 03 Jul 2019 05:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AjO3V+UX6vh5Mu28TxXECXbVCg9js/SZ+Ofw478Q6MI=; b=lijGmtWqR/Ej83Ci+HFtTZWHRbozsRAxCyOhell7587whgHelOwdfEYDS7PNf5nXOV IEuCOWpjxLO1aO5IbLEmNXcchs+IvlOuK6CG9FDDih0ADRhlPAJQ4XCmBKR1CBeSoPdY 2HI138oQq5SBSsph6ssCV4mgKsPN70RcjhZnSIhHnw3RJRfS/nuaxNt34Gti/CUl0Je3 poUJVYvi/fFdYEEI4unNXqCK3tYeZ3fq81g2x/LO2/wKwZPIGreru8dzpdeSXNVfPS3O XB3apTDXHEwNQPOnoPIlhxo5cGl9MTqTrq8Y2MMR8RWDJx7RoFTVGVP6GJNjgZ0fi3Oh sQ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AjO3V+UX6vh5Mu28TxXECXbVCg9js/SZ+Ofw478Q6MI=; b=lSAPsJ6gefWyKkXJjxQ8uytRYy07XhPGKT7qS+mYfYennyt+0zZvJ3rN3eDkCOb0hW y8GK3LU0/gKBwAH4A7KOxARf0UUhAAyp1y5Wd63PFtP0iAm7ErQjC4x1itdLqpSkWJ6X Go2eaMI2Nr/IzHU0FUcWG1vtBdelXusJm6EzaCMDdBN/9rh8X0Ww5wOf6v9xq1Ko3EG0 3yJyLzGnC0chXET6bjzZ1N8+v6QW3H5VSvl+Gq53PJH9GSYZuNYrMswyYuHnSYdpiVj1 CiqtKS/0/hukO30J0ULBP0PX6z8suZURu6d/Jezj762vJQLu71rVMk9e9cXZBmo/a+lu H8mw== X-Gm-Message-State: APjAAAVzirzPuT9vIRBK5Q3Qx7c5OW5ypteur487gXwe7QDy2Q07ZzzM FKOiFBtgXeGnsgMNyHmKJbukJA== X-Received: by 2002:a1c:2d8b:: with SMTP id t133mr7946631wmt.57.1562157180009; Wed, 03 Jul 2019 05:33:00 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id r3sm2084195wmh.47.2019.07.03.05.32.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 05:32:59 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Date: Wed, 3 Jul 2019 13:32:57 +0100 Message-Id: <20190703123257.27228-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Srinivas Kandagatla , lgirdwood@gmail.com Subject: [alsa-devel] [PATCH] ASoC: wcd9335: remove multiple defines. X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Found during review that there are multiple defines of same constants. This patch removes them! Signed-off-by: Srinivas Kandagatla --- 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 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) \