From patchwork Wed Aug 9 16:56:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 109747 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp1154586obb; Wed, 9 Aug 2017 09:57:20 -0700 (PDT) X-Received: by 10.223.161.19 with SMTP id o19mr7216990wro.235.1502297840693; Wed, 09 Aug 2017 09:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502297840; cv=none; d=google.com; s=arc-20160816; b=aoa8OKggXqQLRza6Jspxvetz91Edkmw5lWHcobVmLrWyZUCekFFaakJSBdW/1BrC/4 NR3Kvn0A7e3vhzkjC/qWHLNNb9DbR6joz58+8NDGY6L9xDc8LFg2ACFKrJHhFfpLLe9X gR5R/7/sUjE4qCALyC6xv+CsaxpMa2Ylw9iQRci6eXXvRgnt1raKoHGfSZJehh7ioHWK 3qpeV3Te+y2iBE/wqlkr67qpN5SakBmJ59hK3Zy1JouU9gGrVTFgG22qY4h3BTykiis2 Wm06OF95dYuaDuIFSNQxwFelK/fvUFXWS4gYFqtVLUHbps3iQ2waaKR0Kmcl9a2MB3yq 9fqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :delivered-to:arc-authentication-results; bh=9sw6QMWERki8L8wlm6WiHXbfohqpcvzZ2QrA9vGxcJ4=; b=zyHHSB3WAI4vzn+r27uDeAaZoyUEzDLBkZVeCTFubkPv0CzWBVYln1PoE27ggoPnpa 5fel4GEKQxSDaseAFrVEqZfLj2Ptt5VIB0U9dOqi/cC7GEewQgIup5pLUdcijd2Yamlj uwObYddXO5+4P4JotTCYBy9ExzwXgPTRU5ozQaXGzFUF2X8RiZRMMzQWxcwy7uYEjwKF JN0s7z6oiazT/5Lt/HoNrdgtEgSc2//8JWxkAcQb41kwDiVwjRUNR0ZiKD6WDhm2KOS8 3iyjg9zJQw4AhUelotHFRFn65Nrt1y5tmKM3PP0z9JK7bcJ2ao7Aa/3CNc6ABW5zk96M FjVw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 61si3633378wrf.313.2017.08.09.09.57.20; Wed, 09 Aug 2017 09:57:20 -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; 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 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B3335267454; Wed, 9 Aug 2017 18:57:13 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8C322267454; Wed, 9 Aug 2017 18:57:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mezzanine.sirena.org.uk (mezzanine.sirena.org.uk [106.187.55.193]) by alsa0.perex.cz (Postfix) with ESMTP id 381AB267449 for ; Wed, 9 Aug 2017 18:57:03 +0200 (CEST) Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dfUHo-0001Jq-EH; Wed, 09 Aug 2017 16:56:50 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dfUHl-0005M2-Pd; Wed, 09 Aug 2017 17:56:45 +0100 From: Mark Brown To: oder_chiou@realtek.com In-Reply-To: <1502243774-31177-1-git-send-email-oder_chiou@realtek.com> Message-Id: Date: Wed, 09 Aug 2017 17:56:45 +0100 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Cc: Oder Chiou , jack.yu@realtek.com, alsa-devel@alsa-project.org, hychao@google.com, harshapriya.n@intel.com, lgirdwood@gmail.com, broonie@kernel.org, shumingf@realtek.com, bardliao@realtek.com, flove@realtek.com Subject: [alsa-devel] Applied "ASoC: rt5514: Eliminate the noise in the ASRC case" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: rt5514: Eliminate the noise in the ASRC case has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From ade82fdbae6905e80f107596f2e0b4df84490d28 Mon Sep 17 00:00:00 2001 From: "oder_chiou@realtek.com" Date: Wed, 9 Aug 2017 09:56:14 +0800 Subject: [PATCH] ASoC: rt5514: Eliminate the noise in the ASRC case In the ASRC case, there is the noise if the clock is asynchronous with the LRCK. The default settings will eliminate the noise. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- sound/soc/codecs/rt5514.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.13.3 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c index 21cbb566c0d3..0eabe569ab73 100644 --- a/sound/soc/codecs/rt5514.c +++ b/sound/soc/codecs/rt5514.c @@ -64,6 +64,8 @@ static const struct reg_sequence rt5514_patch[] = { {RT5514_ANA_CTRL_LDO10, 0x00028604}, {RT5514_ANA_CTRL_ADCFED, 0x00000800}, {RT5514_ASRC_IN_CTRL1, 0x00000003}, + {RT5514_DOWNFILTER0_CTRL3, 0x10000362}, + {RT5514_DOWNFILTER1_CTRL3, 0x10000362}, }; static const struct reg_default rt5514_reg[] = { @@ -89,10 +91,10 @@ static const struct reg_default rt5514_reg[] = { {RT5514_DELAY_BUF_CTRL3, 0x00000000}, {RT5514_DOWNFILTER0_CTRL1, 0x00020c2f}, {RT5514_DOWNFILTER0_CTRL2, 0x00020c2f}, - {RT5514_DOWNFILTER0_CTRL3, 0x00000362}, + {RT5514_DOWNFILTER0_CTRL3, 0x10000362}, {RT5514_DOWNFILTER1_CTRL1, 0x00020c2f}, {RT5514_DOWNFILTER1_CTRL2, 0x00020c2f}, - {RT5514_DOWNFILTER1_CTRL3, 0x00000362}, + {RT5514_DOWNFILTER1_CTRL3, 0x10000362}, {RT5514_ANA_CTRL_LDO10, 0x00028604}, {RT5514_ANA_CTRL_LDO18_16, 0x02000345}, {RT5514_ANA_CTRL_ADC12, 0x0000a2a8},