Received: by 10.223.185.116 with SMTP id b49csp1110261wrg; Wed, 21 Feb 2018 12:17:04 -0800 (PST) X-Google-Smtp-Source: AH8x226LxlC9tfLltUrxfyduT5lMudCrdIOvH5UcjVtUn+VvkNcIB3/4CCt/fNXopSP8KuIRJug2 X-Received: by 10.98.33.4 with SMTP id h4mr4390508pfh.144.1519244224849; Wed, 21 Feb 2018 12:17:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519244224; cv=none; d=google.com; s=arc-20160816; b=r2SiXk8xnqrAMD/Y2X45/UtC/+z9BfLzj8ttrYBbRYF01LkAj5x9u95uOuZ2uhDHo8 mEA6/q3chuwXvp6ZSbo+kKPercxGMDVcWos6wMwV06rKvWIuwMBQr+G2pY1xR4lcpg95 NVIhD9MJuWDMODkUEBdK2yUGY5FkxaakmIxAeejuJZ+wQ5VbrrR4khvrSrGEHxqfBkQf uyRQxCB+g/aO/d20o5pvQwG1+U93trEiQfJnqIUtGZ8zkrM4roB8iS6C9ELtsm8CaQPw qeo0gUSj8/Ap5uJDuEyLR9u9fc9aK/7sA0eSz9QwmQTsHSYDGj4KjfJhQZnfqevzQ92m FLkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=rivFmEpDMDY1KWJVKW2bc/uzLXUpuoy4jo+mRzCqwVs=; b=BMIEtoaIcmlNMrmcw/AP3knskLAv/VHblcAvfphDrKdtdkSKAeIQTW69f0IFKN2uCn gH0Nc1F9rjzS+E/8/OM/Te7sC8jtotFuFH2KtsyhqBm936+WQebhtaRZXx63+muhYp4H xFPeuNZ3mTm7es6XzM5lECMsuCJ+mlieMRZO957j8zMhIjHsjSyoWJZT39AO0syRdZiN yhe0+bmpk7t3U3WpajEvQJMyWNyNLaubeHSEIzfqFpWlJUH60+tTFaBmMIVpOiSgMlHL nOttEmjj5tIV5oRMVLoONUanxqd7pxtNt/e7fMBwp1SCihJ6IfGe6fzn+p6h0exqTU9C 1NeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vPTJhwr4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si1471124pfj.121.2018.02.21.12.16.47; Wed, 21 Feb 2018 12:17:04 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=vPTJhwr4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751367AbeBUUQK (ORCPT + 99 others); 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 Received: by mail-wr0-f171.google.com with SMTP id f14so7971459wre.8 for ; Wed, 21 Feb 2018 12:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=rivFmEpDMDY1KWJVKW2bc/uzLXUpuoy4jo+mRzCqwVs=; b=vPTJhwr4OFpK7MjogX+MAyHRb25P4KZwaAImAYfjEPSXeC1LF+Ejhmzo8N/vc4DfWK PONsbCpBnNpmczPT2I7jdVoPre6urDI66VOwFm3g+0AqZvONpqPSPS0is3QsrqCmGQ6g kAXYzEAEx0248kJz0/esQUc2pr+luGMVG2NyhpzTsrP4FxGSEceiTr9lqYo66o7ODN0o vq50Twc/njszGND/RozUgXLRyruj8eNPVfeHQqGC54qxeigOHvq6eBYNg6IagJTS01zL gFgGTbdb8L9CI1P1xfEhrUitEx0akEcqCMtG36Kb4Qsxe+mC/72qiZG/EuSTOiWBctcB pZzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=rivFmEpDMDY1KWJVKW2bc/uzLXUpuoy4jo+mRzCqwVs=; b=cUbiqYS9+YkMvFGR+Qrd0+DGO5Ns+MCNfvd9/D8yCWhMzcFb1MrOJdUNcO/gE91Qzo LSidFESTd/2MLu8VZKE8oreOl9a791gy6aR9YGUBpT0GDQ2Wj8vsYFancVXb+tawXYOQ +vVA1InCyNmNBtixf3G9bHUGyR9by8OmisxVvuA2LSJRZJHHh+OAoumpGjBEannkiXth l05dwofRCIM3rIrxSbcDh/N4WdnU1e2+/7DEA10RTK8TCNGLH4IuCfnAqgCch37T1Dh/ 5FFBg5F6HHRfrMUuZZdaM0SYFbjC68NSJExL0yiIGaON31YqqisHlJcyE9JGpj98mIIu Gd/g== X-Gm-Message-State: APf1xPBkwP9wKszdUbi3PQ2CkNHnhjoNHM3Ol1EziSnbpb1izOZ+3Lk2 /uKAbGcFY95UZMI8F9mpn/TFec0hEIbKMA== X-Received: by 10.28.235.4 with SMTP id j4mr3179100wmh.52.1519244167056; Wed, 21 Feb 2018 12:16:07 -0800 (PST) Received: from [192.168.1.3] (x5ce61c45.dyn.telefonica.de. [92.230.28.69]) by smtp.gmail.com with ESMTPSA id x189sm3749560wmg.23.2018.02.21.12.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 12:16:06 -0800 (PST) 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 Precedence: bulk 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; >> +