From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751391AbeBUUQK (ORCPT ); Wed, 21 Feb 2018 15:16:10 -0500 Received: from mail-wr0-f171.google.com ([209.85.128.171]:41375 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805AbeBUUQI (ORCPT ); Wed, 21 Feb 2018 15:16:08 -0500 X-Google-Smtp-Source: AH8x225DGEDrNGpT3+VyccEKvSnUby5dIuIfkUmz0mGmP9d59zr4OvRmUuXf/1Z38ieVPWo2cPGwFQ== Subject: Re: [RESEND PATCH v2 2/2] ASoC: topology: Add missing clock gating parameter when parsing hw_configs To: Andy Shevchenko Cc: Linux Kernel Mailing List , Mark Brown , Takashi Sakamoto , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , ALSA Development Mailing List References: <20180220174446.7784-1-k.marinushkin@gmail.com> <20180220174446.7784-3-k.marinushkin@gmail.com> From: Kirill Marinushkin Message-ID: Date: Wed, 21 Feb 2018 21:16:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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; >> +