From patchwork Wed Jan 3 12:13:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 123295 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp10098409qgn; Wed, 3 Jan 2018 04:14:07 -0800 (PST) X-Google-Smtp-Source: ACJfBovODbtqzneBct4m+0Z1Ge9cdU9EA0bL0NakxhdWqV8k7EWYhrNvvvH2MIzE3IonQPYJaO+W X-Received: by 10.28.1.76 with SMTP id 73mr1289623wmb.9.1514981647480; Wed, 03 Jan 2018 04:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514981647; cv=none; d=google.com; s=arc-20160816; b=Ls1bfU7E8t5GZzrfwFyVkg9meRAQ2PTZxx4Sn6JY22fvAL9kAXTWuIxhZt/uDBT2z1 vUal+ankrDqMDIhgNgjmzO/lGQWEFXoD++Hkn1oajQcxTt2vUEr5ATfxy73qxRJ3JIqd KUKIqqpSN6FzQCSYnVGj4TRNyInK3SvhPGYMIK+KW73QWikAn2V1GhqjDYGNzbLT/n/V il96mE8ZOPdbuDDgcJto+wOqojyKHu9hl1P4atQ34YqWzRactCcZ+9LHyOuHhlR6mnjO MCR94uAlbMazf0fk9b4eBE4JnfIJJna9yx1OgZ1RDuJ0uJvDlVb16bCtoCg2JTMSoEdK /elg== 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 :dkim-signature:delivered-to:arc-authentication-results; bh=syHVPfKBfxBVAKhkapF41ym+MyZauGYlm0D0QZbbkp4=; b=I/AgobzdhQyuRCY1asIx4SCZcZOJxSuZCHhucPJ3o3uj5z4ccZmsammgtUr/tODwXg pdI9uIH53LLBzAPtS2tne4ONqe/XCbimh2NeHw6du6MlVZ/4ih8Lw2USU3zJ+zIJm56K FzO9B9InzRYoK4rQ0iqGD2V+qRqozy7P7+sQPffy75u6sviRWsn9gjtMQb9qBNvDje79 JYmKEwTbEj7ZljV8t95r9DL5MotIhShyMzBvtIMVsmqouBV6tZRLjKqxfpcNG/LwVymu YQ0mSagm49xY8jkWj4iXl0dVL3TFSfZMqqXVOAGcxR+jOfjxVYL71gsVBlBlTekkHYk/ xYeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=vO0aEoXd; 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 j7si716489wra.472.2018.01.03.04.14.07; Wed, 03 Jan 2018 04:14:07 -0800 (PST) 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=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=vO0aEoXd; 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 1B29426761B; Wed, 3 Jan 2018 13:13:11 +0100 (CET) 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 5C786267611; Wed, 3 Jan 2018 13:13:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id DAC89267610 for ; Wed, 3 Jan 2018 13:13:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=rHusBKfj7FyLIbFaw/I/qtnvgkYCvsouj+9k2G6R4f4=; b=vO0aEoXdL7Xj Z5Jh9/v3HWVlxwSqmV4p4C3mz/P0OzfQsCEsp/CqBib0l162YMiQIgvCbMUtaZvDqiPqZbbH+g9Qx 5qIH9w0EjKO2GcyYIKebKgoj7kZuRNDiI2FVRopIE+1vMJ6r4hccbmr0k+NhxRBJy7zohzPcKefhZ w4UOo=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eWhuo-0004fZ-0z; Wed, 03 Jan 2018 12:13:02 +0000 Received: from broonie by debutante with local (Exim 4.90) (envelope-from ) id 1eWhun-0001dX-HS; Wed, 03 Jan 2018 12:13:01 +0000 From: Mark Brown To: Hans de Goede In-Reply-To: <20180102185314.17189-4-hdegoede@redhat.com> Message-Id: Date: Wed, 03 Jan 2018 12:13:01 +0000 Cc: Oder Chiou , Bard Liao , alsa-devel@alsa-project.org, Mark Brown , Takashi Iwai Subject: [alsa-devel] Applied "ASoC: rt5645: set in2_diff flag for GPD win and pocket devices" 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: rt5645: set in2_diff flag for GPD win and pocket devices has been applied to the asoc tree at https://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 2dc6e1a4883a3eba451c76b726c23a580ed05307 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 2 Jan 2018 19:53:11 +0100 Subject: [PATCH] ASoC: rt5645: set in2_diff flag for GPD win and pocket devices The GPD pocket has a differential signal microphone and needs in2_diff to be set to avoid getting a very noisy signal. Since the GPD pocket and win use the same DMI strings, they share their platform data-definition, so enabling in2_diff on the pocket also sets it on the GPD win. The GPD win has a normal microphone, but setting in2_diff there does not negatively impact the sound from the microphone. Signed-off-by: Hans de Goede Signed-off-by: Mark Brown --- sound/soc/codecs/rt5645.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.15.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index a1a7bb770745..6dd894c9f355 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3628,6 +3628,8 @@ static const struct rt5645_platform_data gpd_win_platform_data = { .jd_mode = 3, .inv_jd1_1 = true, .long_name = "gpd-win-pocket-rt5645", + /* The GPD pocket has a diff. mic, for the win this does not matter. */ + .in2_diff = true, }; static const struct dmi_system_id dmi_platform_gpd_win[] = {