From patchwork Mon Nov 5 11:57:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 150170 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2505840ljp; Mon, 5 Nov 2018 03:57:22 -0800 (PST) X-Google-Smtp-Source: AJdET5eNesSK+zTwrA9RtoP5TSPOdL7i61szPwW2QRsZyyfkDLWkqRakse4IQFxGcJvVKjFl7+WJ X-Received: by 2002:a1c:6555:: with SMTP id z82-v6mr6092258wmb.66.1541419042135; Mon, 05 Nov 2018 03:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541419042; cv=none; d=google.com; s=arc-20160816; b=nGUiYgrKjTdenbDloj7lDek3pgNH35H8lEH5YC9HCCE5FPnvrHJxqSahQl9Q0OMCFi MgqVZsjv8XHSXt27t6lqp+aacP3XjUUBx/wYJwoH7aAbFGiAi4XZpv2lITXwer9eXWna t89iJXUpG57ydtiTDYJa5fL3cuPUDzTKYSHerTQQysTpnoNRx3Q6wIJLwjiWLMY7kVfR 09LluvW5//Cdf90T+OsKrwqx4GoG2H/hpMvLMjiCreJ9MMB/RoeqtzpuTvUKXpRdQ6m0 V2KtfhB2XPVNhFZSpmg8F9/R7bk7NbXfp4X4pIJ5MaaMN0fa74URWVm8fB/WdHVlrxhk kcOQ== 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; bh=2/JOrocmQ4vp+oU/+pPlUxW69XD3pFXQHPa5ll/W4Bk=; b=Pd1+8kLS+5eVrwZhqiMCO0uQcxszwaF854NR11IgADqEBISzyAGtmtYPCQSwcrTJeM 3MwNBvaFgAHLl4JZMmNNSLT8nk7q71ADhbWX4zUEnih08gTUKXAgw9oXRh+gvNChQb0a oSRU/ZQPUWNQEZnAXBcBRfcp8cZMaXfGhWKf7S9lS4JAmCAtEmRw+GMowiTJKzu8rSRK PKkSFCDK3SnVMY8Fb1+24H5Dmt9wEWjU4NSmo9L/qT/ssb52VoQEyPgGAW72sZwbC9sA 1CVX26rjVspvESaMpZm/K13Hihk3yqv376mkCjCTkUoIMT1QFYlAsKVWtN8x0vD3k1cU qx/A== 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="Ip8cK/wB"; 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=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id c10-v6si24477841wrt.340.2018.11.05.03.57.21; Mon, 05 Nov 2018 03:57:22 -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="Ip8cK/wB"; 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=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 420172678DA; Mon, 5 Nov 2018 12:57:20 +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 D38302678DD; Mon, 5 Nov 2018 12:57:17 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE 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 ADBD4267692 for ; Mon, 5 Nov 2018 12:57:15 +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=o8MTLegWK+ElgG+wOkbg3lttm7lK/IuvB7lhcy2TAfQ=; b=Ip8cK/wB0kyQ FXpOwmcHZhF7wR0TCCS4VuDxPU5GazAmBi/oQsndMdGYuQI8P04Zv+7EFt6K/d2vLviWf/1Lse/A0 gLC52Dp2SvUozJ2S2NQQSdruF7mmQ4SCxgtI7tF1PeCh7woizIS4o5ThycH4VC+jCoU2dPyBbWhZq 6kDXc=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gJdVK-0008HK-2v; Mon, 05 Nov 2018 11:57:14 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id A86111124D98; Mon, 5 Nov 2018 11:57:13 +0000 (GMT) From: Mark Brown To: Rohit kumar In-Reply-To: <1541073067-29553-1-git-send-email-rohitkr@codeaurora.org> Message-Id: <20181105115713.A86111124D98@debutante.sirena.org.uk> Date: Mon, 5 Nov 2018 11:57:13 +0000 (GMT) Cc: rohkumar@qti.qualcomm.com, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, linux-kernel@vger.kernel.org, plai@codeaurora.org, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, srinivas.kandagatla@linaro.org, niklas.cassel@linaro.org, rohitkr@codeaurora.org Subject: [alsa-devel] Applied "ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask" 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: qdsp6: q6afe: Fix wrong MI2S SD line mask 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 112b57fa737445b2361be332ce8cc0fd3e2b994e Mon Sep 17 00:00:00 2001 From: Rohit kumar Date: Thu, 1 Nov 2018 17:21:07 +0530 Subject: [PATCH] ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask SD line mask for MI2S starts from BIT 0 instead of BIT 1. Fix all bit mask for MI2S SD lines. Signed-off-by: Rohit kumar Signed-off-by: Mark Brown --- sound/soc/qcom/qdsp6/q6afe.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.19.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/qcom/qdsp6/q6afe.c b/sound/soc/qcom/qdsp6/q6afe.c index 000775b4bba8..829b5e987b2a 100644 --- a/sound/soc/qcom/qdsp6/q6afe.c +++ b/sound/soc/qcom/qdsp6/q6afe.c @@ -49,14 +49,14 @@ #define AFE_PORT_I2S_SD1 0x2 #define AFE_PORT_I2S_SD2 0x3 #define AFE_PORT_I2S_SD3 0x4 -#define AFE_PORT_I2S_SD0_MASK BIT(0x1) -#define AFE_PORT_I2S_SD1_MASK BIT(0x2) -#define AFE_PORT_I2S_SD2_MASK BIT(0x3) -#define AFE_PORT_I2S_SD3_MASK BIT(0x4) -#define AFE_PORT_I2S_SD0_1_MASK GENMASK(2, 1) -#define AFE_PORT_I2S_SD2_3_MASK GENMASK(4, 3) -#define AFE_PORT_I2S_SD0_1_2_MASK GENMASK(3, 1) -#define AFE_PORT_I2S_SD0_1_2_3_MASK GENMASK(4, 1) +#define AFE_PORT_I2S_SD0_MASK BIT(0x0) +#define AFE_PORT_I2S_SD1_MASK BIT(0x1) +#define AFE_PORT_I2S_SD2_MASK BIT(0x2) +#define AFE_PORT_I2S_SD3_MASK BIT(0x3) +#define AFE_PORT_I2S_SD0_1_MASK GENMASK(1, 0) +#define AFE_PORT_I2S_SD2_3_MASK GENMASK(3, 2) +#define AFE_PORT_I2S_SD0_1_2_MASK GENMASK(2, 0) +#define AFE_PORT_I2S_SD0_1_2_3_MASK GENMASK(3, 0) #define AFE_PORT_I2S_QUAD01 0x5 #define AFE_PORT_I2S_QUAD23 0x6 #define AFE_PORT_I2S_6CHS 0x7