Received: by 10.192.165.156 with SMTP id m28csp888927imm; Mon, 16 Apr 2018 10:17:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx499A/XEE5+aJpFGmmNj5dYqCj0N9Ad7Ku+3+YRtFAvqH44RvKaXPdc/cBDlXPcKZVwqt8un X-Received: by 2002:a17:902:564:: with SMTP id 91-v6mr16075157plf.63.1523899050127; Mon, 16 Apr 2018 10:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523899050; cv=none; d=google.com; s=arc-20160816; b=Q5Zfjc/cRhOMXk048aGbj9mtVI7AYWj5lQ/+pmw541K+HtBAzZPG1pFB8oIncu0jxR Ur0gfr67rJ+nGiFnxKindj9jT8DngBc4TX19o189uc836Tk4i1yZsgFb7Qj49kEeCtWv S/ugGlCVjMcd0sUCE7cEPCWqF+vSE6JkjqAqW2QZ8lsZSA/sYWkWff5CXKUUKOQpBRWg y2kCBjK93kGBL0tTBkoUir9qFs4SfmIVG1iezHrOjWuSLDirBLaJYncEdyS0jZFBVcZl VWOlOWUyor6TsjL8l8Hc5W82YLreTUL51DZvL/FhnJFgHlNTIcY68yWgR4tqPxLoD4hQ UI9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=LT70+qMJ54X/L5VBEFmNrqD0lsT1XvGLmtgmWDYqyYw=; b=sEvdyNK5RgdyWfm8NiHt6W1rlBtAC3jnC789CgSALdPTYxef1Hl/z2Cae40DdPJNQr 2xKZ8BjuNivmg+byddlejvv+qBZP4RO/XuKFHvvm7+xa/qbRUifQpHdbmcSKK+g1Rnrq IzyRFRLxT4+AWf13uOXcvMaBtIzcPdgrYuPFKvr4Ymju3QYVF2KXbJo+ShBhwy0mSGvu D2sLW15dal++U2wOWzat5ok7LdvIEPZMP9UezynuavkBzkWP27LT3/6kKYlOXM+eyaHw mFn5Df3vSQNg3cGuafc/mWP9b812sLvGBBURVZtajk/1Bi8kRxzxNt1Xf5QPxmEjoQmB q+rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jCWygBLL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si9976665pgs.351.2018.04.16.10.16.52; Mon, 16 Apr 2018 10:17:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jCWygBLL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752965AbeDPRPc (ORCPT + 99 others); Mon, 16 Apr 2018 13:15:32 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56396 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752934AbeDPRPa (ORCPT ); Mon, 16 Apr 2018 13:15:30 -0400 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=LT70+qMJ54X/L5VBEFmNrqD0lsT1XvGLmtgmWDYqyYw=; b=jCWygBLLGqAT pPZItGooR/ASHgge7OCHs0gsR+ylxS0XzFkwMcSMgaaHOJz/sa3zaIM00QMuQAalULJqkHQswFo4t PQkhXt/1Bj0CWm2yZLzGYdhbVEkbrN3YGLw0rUheKIXtPhvyDRq7TgTeFAkRufC+NqGhHbgsaIZGn ED6W0=; 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 1f87iv-0005sj-D3; Mon, 16 Apr 2018 17:15:25 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f87iu-0002wh-VJ; Mon, 16 Apr 2018 18:15:24 +0100 From: Mark Brown To: Kirill Marinushkin Cc: Pierre-Louis Bossart , Jaroslav Kysela , Takashi Iwai , Mark Brown , Pan Xiuli , Liam Girdwood , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Mark Brown , Mark Brown , alsa-devel@alsa-project.org, Takashi Iwai , Pan Xiuli , Pierre-Louis Bossart , linux-kernel@vger.kernel.org, Liam Girdwood , alsa-devel@alsa-project.org Subject: Applied "ASoC: topology: Add definitions for mclk_direction values" to the asoc tree In-Reply-To: <20180404041939.23317-4-k.marinushkin@gmail.com> Message-Id: Date: Mon, 16 Apr 2018 18:15:24 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: topology: Add definitions for mclk_direction values 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 e590522a06adce8ca2eb47e77d80616cd1542d91 Mon Sep 17 00:00:00 2001 From: Kirill Marinushkin Date: Wed, 4 Apr 2018 06:19:39 +0200 Subject: [PATCH] ASoC: topology: Add definitions for mclk_direction values Current comment makes not clear the direction of mclk. Previously, similar description caused a misunderstanding for bclk_master and fsync_master. This commit solves the potential confusion the same way it is solved for bclk_master and fsync_master. Signed-off-by: Kirill Marinushkin Acked-by: Pierre-Louis Bossart Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Mark Brown Cc: Pan Xiuli Cc: Liam Girdwood Cc: linux-kernel@vger.kernel.org Cc: alsa-devel@alsa-project.org Signed-off-by: Mark Brown --- include/uapi/sound/asoc.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h index f3c4b46e39d8..b901cdbe532a 100644 --- a/include/uapi/sound/asoc.h +++ b/include/uapi/sound/asoc.h @@ -144,6 +144,10 @@ #define SND_SOC_TPLG_DAI_CLK_GATE_GATED 1 #define SND_SOC_TPLG_DAI_CLK_GATE_CONT 2 +/* DAI mclk_direction */ +#define SND_SOC_TPLG_MCLK_CO 0 /* for codec, mclk is output */ +#define SND_SOC_TPLG_MCLK_CI 1 /* for codec, mclk is input */ + /* DAI physical PCM data formats. * Add new formats to the end of the list. */ @@ -334,7 +338,7 @@ struct snd_soc_tplg_hw_config { __u8 invert_fsync; /* 1 for inverted frame clock, 0 for normal */ __u8 bclk_master; /* SND_SOC_TPLG_BCLK_ value */ __u8 fsync_master; /* SND_SOC_TPLG_FSYNC_ value */ - __u8 mclk_direction; /* 0 for input, 1 for output */ + __u8 mclk_direction; /* SND_SOC_TPLG_MCLK_ value */ __le16 reserved; /* for 32bit alignment */ __le32 mclk_rate; /* MCLK or SYSCLK freqency in Hz */ __le32 bclk_rate; /* BCLK freqency in Hz */ -- 2.17.0