Received: by 10.223.185.116 with SMTP id b49csp781340wrg; Wed, 21 Feb 2018 06:52:07 -0800 (PST) X-Google-Smtp-Source: AH8x226r5gSsbWcZC4uNDyHozg0yLBQ/0CqhETXPSmv9/RLGZX5ksKdtTPByrCylbY1JtnVHBy8P X-Received: by 10.98.233.21 with SMTP id j21mr3569521pfh.123.1519224727381; Wed, 21 Feb 2018 06:52:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519224727; cv=none; d=google.com; s=arc-20160816; b=unxgKDF+yvhRClh3lRvWUX3HGNBpciwWFhyTweIA2pTiQwFmPXWrdEJRKCiSosoxy/ cj2BcPyf/zQRAjXHYwRTep6BSi/cgdYnyVQqa5vjKZyXl8BJQ93r9Qv5BArF2W95aDSv bs4myW6BJPXv6YMmnDXgHiH0/lTh+ABAeSGnSHW8sVqDlQaNkCCWRoWJhK8tQUlLmF9/ li0Z16hyGBb+36wDmXtnXYbp+7n53lXCvQJ4voikz1tRNRI30tzerQPC5wKkTPF1ZLzm CHFiiMpshWKXE46BhacPBX8KNHP4QQrF/wqagkQotloGe2dad5dPhr2D23LLO53Vz7l8 z+vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=87JA+nif2TjCbUOkXh54j6lkP3hI8K4h1/CN6En+8uc=; b=vX3jlr/Ce2kEwY9cieyRpdAzuVXYg2qHICOlQ6HwiuQjLzXNWxb0m994Cqb2HQUkqM TS88AlWnih4dcTsadl5pFq5H0ufK3KHdMkj03sQRiCeuuEnjzaaZn1uXAyGI/PkoWNS/ FF7s1U7wgaTZI4Lh/F7JEUwiHtajX8taUekQbT107eeoeRFimeZcLBab2bTvqCpGyBxA Lu1v9YKaU/z4klT11i5PhM16Vfee5or7svhJErGwfDJjXIICcuAEOobcgHYxUDA2HeP0 rfhQTfufgQvH2k5I0nFXZC3I+RpjQacXs2CqBlhGCz2AOjbdXyQwzJ8GC3/kPQEUrSGb KMYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FmoO/zeb; 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 j8-v6si54209plk.464.2018.02.21.06.51.38; Wed, 21 Feb 2018 06:52:07 -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=FmoO/zeb; 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 S938002AbeBUOud (ORCPT + 99 others); Wed, 21 Feb 2018 09:50:33 -0500 Received: from mail-qk0-f173.google.com ([209.85.220.173]:46692 "EHLO mail-qk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932826AbeBUOuc (ORCPT ); Wed, 21 Feb 2018 09:50:32 -0500 Received: by mail-qk0-f173.google.com with SMTP id t13so2222942qkj.13 for ; Wed, 21 Feb 2018 06:50:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=87JA+nif2TjCbUOkXh54j6lkP3hI8K4h1/CN6En+8uc=; b=FmoO/zebzbY1Fil58VXUWZrPRkUVcK1H7XXvJQZ9MWf7yraC4sPB6MfGI+274BE75R Sz4qUgTv9xvQnGvGO9MLpveUJqvidMaczYBSTfI1QD4NJsl/Tj/B5j30UnjWuGCkihRU mCH8tntwiW6UQkFWydpynLmHzaOujqWKV4hst1DQHib9iBtB06KaqmJBYPiyhVPt+Q1/ TQHyj6NTUGWQFcAsBXh/dZZfMsvOeHTqMzwjDP6qvpifslwAFsir/Ei2ZRGCmGreXUQ7 xHt5k+qPO4nz2zLUl8GDPh+laeivONCeAhNBWty0eRzPuyVpqYnhD4zLXc7+B1E+NdH6 T9pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=87JA+nif2TjCbUOkXh54j6lkP3hI8K4h1/CN6En+8uc=; b=javcegbkRvy8X6Z5v9HtA3gJtenKzhaopFIz5ZBjou0h5kuZxk3kQXV6bqJ4fDeNOX ZeF/oird2pZ8aEISiBF0dBIVyuFmUl6Bg8v8z01iQGgd2viNj/9GBI+guS21sWCnh296 ruT1c7qcvDPNheptUp1kszmYDbR0+Nq8cY6NRCfzRuSKWXJcLsbllVesBS/6mhUorqrj 1qnUhRAsBG3jSb35J2u/uKuzXtlVKMKNtoIJETwKXRbb6K9xHi7YyNw1b9ZYAdIIrcd4 6VBsrVIHqNGDns3R62tCxUr0h/QPMvgne5lmy3QA6aRUPOH3RmyaqaTbutWR0XVKAO7T muGg== X-Gm-Message-State: APf1xPBOHebnhdErQB9d2kCLcrla5cYJawOxXkWDQA2fgmzZUNaMvwii irntQMZ9Pa4Ehds0rLo2WqrjA43bQ3xEnxviPnM= X-Received: by 10.55.209.217 with SMTP id o86mr5254915qkl.33.1519224631656; Wed, 21 Feb 2018 06:50:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.80 with HTTP; Wed, 21 Feb 2018 06:50:30 -0800 (PST) In-Reply-To: <20180220174446.7784-3-k.marinushkin@gmail.com> References: <20180220174446.7784-1-k.marinushkin@gmail.com> <20180220174446.7784-3-k.marinushkin@gmail.com> From: Andy Shevchenko Date: Wed, 21 Feb 2018 16:50:30 +0200 Message-ID: Subject: Re: [RESEND PATCH v2 2/2] ASoC: topology: Add missing clock gating parameter when parsing hw_configs To: Kirill Marinushkin Cc: Linux Kernel Mailing List , Mark Brown , Takashi Sakamoto , Takashi Iwai , Jaroslav Kysela , Liam Girdwood , ALSA Development Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > + link->dai_fmt |= SND_SOC_DAIFMT_CONT; > + -- With Best Regards, Andy Shevchenko