Received: by 10.213.65.68 with SMTP id h4csp2953032imn; Mon, 2 Apr 2018 17:58:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/15toQuYxbNU2H9AtJMg2oEd79fd8UoUSHqfqqgJF+Z++9E3ZzWBHdr/sF5ncYNyHxsMFv X-Received: by 2002:a17:902:7292:: with SMTP id d18-v6mr11587676pll.289.1522717132488; Mon, 02 Apr 2018 17:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522717132; cv=none; d=google.com; s=arc-20160816; b=YFGCCU1wmoGdIjBYUItRYVYCRJkzUbPVmCBbZosbgemCo3Z5FZK5DBJGujfUCHBGKJ a7vyt6pRfpwQodPoPfXDaf1HeVp28sdPaVIWE/9XLKszcXG8UniS+yhAP07ydLOuaaDD 8BTHxovfC54QfW/BP/SbF/NZ6JG6KWM6iUJdSsWsrrkgClovvGb7C4GN0O65yfaeM2WR GCqICoL4neZfGeutXwUxuYYGj1NLe4BrN4cyGwzraGVFz/NJjrTOJmkWbY3cBUocWQPn XCTeerzCuX6UMRAQlR8F6hj/1p0o5swNWi0s6oc/xRQQBtEek6M4b/0jeNrzGptzDcVn U6ow== 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:arc-authentication-results; bh=48Pg2ntjK3yHxDGVf86w0DhHpmM/+WJlLzM1suEW+yw=; b=sl+GM+dsL7bfYy9de2Cp0yKsU2vt7UFB5f27LpaskLH/6XlKKHKYj9yzOvKFMECn4K WHLHo45WB17Ph9z2pu1UV8W9vE17VfQVJDTpaxitjhknZwKhUsVWcCtVgWm1jdfogrcs 1A/F1irzgwgfOi8xx50Amj7coV8aXnlNHONha/3jjQewsG7+NzzNDAOJhCYTrONG+ycL shhs9GJunX7JeilknIopR3ei8CwiT3K9UTDunXsK2dwzZGk2d9tJrseTa0VEk/zfjxli rKqqpQNFu0QMNPfdbq5U1Oc4HEDZKUHryVyKq8KiDuBRxVbpwDourSWm4hn5UEaVqXP4 Z4vA== ARC-Authentication-Results: i=1; mx.google.com; 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 k6-v6si1534345pln.103.2018.04.02.17.58.38; Mon, 02 Apr 2018 17:58:52 -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; 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 S1754693AbeDCA5d (ORCPT + 99 others); Mon, 2 Apr 2018 20:57:33 -0400 Received: from mga17.intel.com ([192.55.52.151]:59136 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754604AbeDCA5c (ORCPT ); Mon, 2 Apr 2018 20:57:32 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Apr 2018 17:57:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,398,1517904000"; d="scan'208";a="38889920" Received: from rbangin-mobl.gar.corp.intel.com (HELO [10.249.2.114]) ([10.249.2.114]) by FMSMGA003.fm.intel.com with ESMTP; 02 Apr 2018 17:57:31 -0700 Subject: Re: [PATCH v3 0/2] ASoC: topology: Improve parsing hw_configs To: Kirill Marinushkin Cc: Jaroslav Kysela , Takashi Iwai , Mark Brown , Pan Xiuli , Liam Girdwood , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org References: <20180327205632.3677-1-k.marinushkin@gmail.com> <17f0767a-2dea-92dd-a88e-a3f3e670d0d2@gmail.com> From: Pierre-Louis Bossart Message-ID: <461bbabf-7c36-1361-8f66-5abbe3c7f4d8@linux.intel.com> Date: Mon, 2 Apr 2018 19:57:31 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <17f0767a-2dea-92dd-a88e-a3f3e670d0d2@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/02/2018 04:17 PM, Kirill Marinushkin wrote: > Hello Pierre-Louis, > > I explicitly clarified with Takashi: to have this patch series merged, we need a > tag "Reviewed-by" from you. I am fine with the changes, but maybe while we are at it, we should clarify what mclk_direction means?     __u8 mclk_direction;    /* 0 for input, 1 for output */ This is really awful and might benefit for additional clarity using codec-centric conventions. We also had a discussion internally and can't figure out why the strings are different from the fields in the structure, I feel it'd be simpler to align config and code to avoid issues but keep existing notation for backwards compatibility, e.g. if (strcmp(id, "mclk_freq") == 0) || strcmp(id, "mclk_rate") == 0) {         if (snd_config_get_string(n, &val) < 0)                 return -EINVAL;             hw_cfg->mclk_rate = atoi(val);             continue; } > > Patches [2] and [5]: > You already tested them. May I put a tag "Reviewed-by" with your name into them? > > Patches [3] and [6]: > Those are new for you; I added them to this patch series, because they are > logically similar to [2] and [5]. > Could you please review these patches? > > Best Regards, > Kirill > > [1] [PATCH v3 0/2] ASoC: topology: Improve parsing hw_configs > [2] [PATCH v3 1/2] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() > [3] [PATCH v3 2/2] ASoC: topology: Add missing clock gating parameter when parsing hw_configs > [4] [PATCH, alsa-lib, v3 0/2] alsa-lib: ASoC: topology: Improve parsing hw_configs > [5] [PATCH, alsa-lib, v3 1/2] ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() > [6] [PATCH, alsa-lib, v3 2/2] ASoC: topology: Add missing clock gating parameter when parsing hw_configs > > > On 03/27/18 22:56, Kirill Marinushkin wrote: >> Hello Jaroslav, Takashi, Mark, >> >> This patch series is a resend of [1] and [2], rebased on top of the latest >> head. It was logical to resend them together. >> >> It includes 2 patches for linux + 2 patches for alsa-lib. >> >> Please have a look. >> >> Best Regards, >> Kirill >> >> [1] https://patchwork.kernel.org/patch/10250485/ >> [2] https://patchwork.kernel.org/patch/10230611/ >> >> Kirill Marinushkin (2): >> ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() >> ASoC: topology: Add missing clock gating parameter when parsing >> hw_configs >> >> include/uapi/sound/asoc.h | 23 ++++++++++++++++++++--- >> sound/soc/soc-topology.c | 19 ++++++++++++++----- >> 2 files changed, 34 insertions(+), 8 deletions(-) >>