From: Kirill Marinushkin Subject: Re: [RESEND PATCH v2 2/2] ASoC: topology: Add missing clock gating parameter when parsing hw_configs Date: Wed, 21 Feb 2018 21:16:15 +0100 Message-ID: References: <20180220174446.7784-1-k.marinushkin@gmail.com> <20180220174446.7784-3-k.marinushkin@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by alsa0.perex.cz (Postfix) with ESMTP id 5884C267645 for ; Wed, 21 Feb 2018 21:16:08 +0100 (CET) Received: by mail-wr0-f176.google.com with SMTP id k9so7985277wre.9 for ; Wed, 21 Feb 2018 12:16:08 -0800 (PST) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Andy Shevchenko Cc: ALSA Development Mailing List , Linux Kernel Mailing List , Takashi Iwai , Liam Girdwood , Mark Brown , Takashi Sakamoto List-Id: alsa-devel@alsa-project.org On 02/21/18 15:50, Andy Shevchenko wrote: > On Tue, Feb 20, 2018 at 7:44 PM, Kirill Marinushkin > wrote: >> Clock gating parameter is a part of `dai_fmt`. It is supported by >> `alsa-lib` when creating a topology binary file, but ignored by kernel >> when loading this topology file. >> + /* clock gating */ >> + if (hw_config->clock_gated == SND_SOC_TPLG_DAI_CLK_GATE_GATED) >> + link->dai_fmt |= SND_SOC_DAIFMT_GATED; >> + else if (hw_config->clock_gated == >> + SND_SOC_TPLG_DAI_CLK_GATE_CONT) > A nit, I would leave it on the same line, even if it ~2-3 characters > longer than 80. Hello Andy, Thank you for the comment. I think it is important to stay in the length of 80. I understand your point, but from my perspective, the coding style is a higher priority guideline. Therefore I would prefer to keep this line as it is now. Beast Regards, Kirill >> + link->dai_fmt |= SND_SOC_DAIFMT_CONT; >> +