From patchwork Fri Oct 19 12:34:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 149277 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3250057lji; Fri, 19 Oct 2018 05:35:01 -0700 (PDT) X-Google-Smtp-Source: AJdET5ec8El9pFkxR+s6brYJGpWDm6nwgpN3y8IG59xnl4bvyiF021nRXD2SwNgmu5jY6MPBDhvQ X-Received: by 2002:adf:edcf:: with SMTP id v15-v6mr2125626wro.47.1539952501783; Fri, 19 Oct 2018 05:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539952501; cv=none; d=google.com; s=arc-20160816; b=RzavkS0wrer96BpvGjMy10S9hvjYCALftRFI6UwQ9WsvUUbTSimJnQI+xOdYDnWqxv S1TXMpdrOTEwA4Z6GQBoXV5FE/VNobLrXoHFAYJirqOhc+5ozsyfpKnqZhNrtYogM/eY 4fc00z9r7iQxd/9TXaOPmTnSQfi6Af2/Xio72gdvrjnm3G+8qpaHMtYm9Tmh/ft2ot65 /HFqP1+lNS1AyEvLJj+tQgfxZQlumuaMuv7rzbukG2/IXkrLXD6rSBzYwB3M0SCwkTdo +aGSrAZHA/2pPtu7HZGGmF8+3junGTaZdtVZu27azaTv1r9bEfQTBhIz7d1Ze081Xvql wcAA== 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=hPaczDECBm1ARLx8DcDWvSU7xLdrbqRTchwqxtXUVu8=; b=Yqom9soVF0ykRnGCRYLcoddIGP3lsMJqDLBFknwIFQ6L2lVWOYHth0yIez8ogSl3lC ua4z2Kc8D+K3PQUcNyZiDJqLXeAw8fX9HhLGicWK1CVsuUDwwLhx+GNtHwt3q/8/8ocq /zzWNJSDN818qlUgHz8roMeuAneOVAf89FKuUvk4TORbbgvqUPlQJh9ttDfSV+r0+CaS e016MpLOpWFDh+rN43rFNlvpuZ38yREu21UwsJGDT7Dc4XQl6Zx/cHY7bKUTCS/exO28 ebj7mDTm07wcQL7HHQn4aSDTHLfcjEJKmdu73XCy9y1+ZP3m8uX1bo/M4S2yBeycmRwx kt9A== 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=ScpSqvre; 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 k16-v6si1698780wrl.87.2018.10.19.05.35.01; Fri, 19 Oct 2018 05:35:01 -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=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ScpSqvre; 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 46C0F267A75; Fri, 19 Oct 2018 14:34:42 +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 5C293267A76; Fri, 19 Oct 2018 14:34:39 +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.2 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 C343B267A71 for ; Fri, 19 Oct 2018 14:34:34 +0200 (CEST) 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=vPULv+9Hxu900zkOTyXHCCSvuInan1WUtKtFpUaKEf4=; b=ScpSqvrebELx dkWeRDhVIYpEyQT3O3C1ICUt+jN48Yb5BEYYcAvH+Qg+eexTxajQ9v7r+kMb1xPhBUwYK71nRiEJ7 1cm6GAA0J4ibPJmb5uB19pUIiVr7ZSDJzpM4IWXkvwc4X0OtNa5Z7IDanU4yrWoP2VlG1So2MCZ08 IfTyg=; 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 1gDTz8-00007p-Kc; Fri, 19 Oct 2018 12:34:34 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 609DC1122548; Fri, 19 Oct 2018 13:34:34 +0100 (BST) From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87k1mhz6m6.wl-kuninori.morimoto.gx@renesas.com> Message-Id: <20181019123434.609DC1122548@debutante.sirena.org.uk> Date: Fri, 19 Oct 2018 13:34:34 +0100 (BST) Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: rsnd: tidyup SSICR::SWSP for TDM" 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: rsnd: tidyup SSICR::SWSP for TDM 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 2eaa6e233091f51d8a629e423ad0bc080ffcb5d6 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Wed, 17 Oct 2018 01:55:57 +0000 Subject: [PATCH] ASoC: rsnd: tidyup SSICR::SWSP for TDM R-Car datasheet is indicating that WS output settings of SSICR::SWSP is inverted on TDM mode from non TDM mode settings. But, it is meaning that TDM should use 0 here. Without this patch, sound input/output 1ch will be 2ch, 2ch will be 3ch ..., be jumbled on I2S + TDM settings. This patch fixup it. This patch is tested on R-Car H3 ulcb-kf board, SSI3/4 TDM sound. Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- sound/soc/sh/rcar/ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c index b42a0e0feab7..fcb4df23248c 100644 --- a/sound/soc/sh/rcar/ssi.c +++ b/sound/soc/sh/rcar/ssi.c @@ -392,7 +392,7 @@ static void rsnd_ssi_config_init(struct rsnd_mod *mod, if (rdai->bit_clk_inv) cr_own |= SCKP; - if (rdai->frm_clk_inv ^ is_tdm) + if (rdai->frm_clk_inv && !is_tdm) cr_own |= SWSP; if (rdai->data_alignment) cr_own |= SDTA;