From patchwork Fri Oct 19 12:27:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 149264 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3241499lji; Fri, 19 Oct 2018 05:27:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV63JJOEzy3U9RWHvHBfb6ec3nbIrDmxS+nr+0IYiPIEKMMjyODH5fqorOEGvm953VVDorbfX X-Received: by 2002:a1c:f417:: with SMTP id z23-v6mr4799596wma.80.1539952038045; Fri, 19 Oct 2018 05:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539952038; cv=none; d=google.com; s=arc-20160816; b=YL2NQN84WsrmGmDVimlpcWlhDIMokALKbubjHX07SFcAb0X6ULXHREi/pnYSXPh9hz LsVX515snZljW5cU/ZwhrfigOuJFTaLQuOx0j2z4/lapUCmuQAA2YzlFUI4lyTmb44Dn ZIVCqYQFUoqPNFo1pRbpaQUDY1gR1GGuSueLuIcAc+24nlpAozRGyC0La6zetwocBH5v clRB8cc2Ndkyx5bVEua8tn0AnnKgag90Ti2NA8V3RCGy/vElXn0Z9Tlq7S/mejQ2Vj3r L/A0+WU6mwkwmccV6Gs7ZWGsvZ25+OTXOmqpYAF097xqGXRIm8mssyYqOUjGVTI5Rd5C RjvQ== 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=MHpFZTikKk0eyofO+8XblGQr3Bc2fZ+2Pu/kC9+j0nN46EJ7zstQKZP3wxXWEqj7vV f0fk3A0Pruups2hUwgQUHoXM9cD00sgFmajeqQOV0ekdY+1IjloGIFxo0FGSTqRvvDzt MwcmyaceMGplKZaOaWgjDSxjhNVGzD3Dh8BlGr+qVQpzvNcDu0IRYnFqCktKTQY4/HWn Cyl8DND7eYHxM+bwhzod1rC9tpG5d7Q17SXVRKNMnhdTMvAUVNEQC/qKHfZI7IfnGtvh ht8v0csyRt76pejQAie6O7X8upc6affoE5AIiViPMYl7O0K7LRmELem/5GKrjTFq98Qx BD8g== 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=JastVmGI; 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 l1-v6si2822916wmd.113.2018.10.19.05.27.17; Fri, 19 Oct 2018 05:27:18 -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=JastVmGI; 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 765A12679B5; Fri, 19 Oct 2018 14:27: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 6A8E92679A6; Fri, 19 Oct 2018 14:27:09 +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 753F92679A1 for ; Fri, 19 Oct 2018 14:27:05 +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=JastVmGIyMLV NZwVwTu36ryOMjOW0vpsURdw3ltZjBrIZUCIU+zgITZx1CO6LYa4tu3zLSL3ua7XYRbEks1BRWUGc 81jp3tQDB/Eok56I1W4QUg/kPh4W4kiprobQm3HXuqVJpZMsHF5vwdcYJH1G/j6T/BUf06NJdFYPd ieUc0=; 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 1gDTrt-0008VP-Ai; Fri, 19 Oct 2018 12:27:05 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 1660C1122548; Fri, 19 Oct 2018 13:27:05 +0100 (BST) From: Mark Brown To: Kuninori Morimoto In-Reply-To: <87k1mhz6m6.wl-kuninori.morimoto.gx@renesas.com> Message-Id: <20181019122705.1660C1122548@debutante.sirena.org.uk> Date: Fri, 19 Oct 2018 13:27:05 +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;