Received: by 10.223.185.116 with SMTP id b49csp5828449wrg; Tue, 27 Feb 2018 22:32:40 -0800 (PST) X-Google-Smtp-Source: AH8x2251LxwZyMyTbMJ3TVSmED6ws7pPwtsPf5E84wf18bTz2MdbiaNWY55qOe5sMR0H5PIR+oI/ X-Received: by 10.101.97.135 with SMTP id c7mr13319320pgv.425.1519799560206; Tue, 27 Feb 2018 22:32:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519799560; cv=none; d=google.com; s=arc-20160816; b=RHb+lONy0yZwPdBM6t66eSBKrmDdpBVyN4HsKK2ipQ15UMaWA5K7KI1i9Joar/E6G6 1SoxYYF/4W0+oS8WhSOuWqwvTcsvXKTHG3oRNY0FG8v2Q59Zqt+4nV6T/GsigkOhXNT2 XRmKvpZn2Aw8rz69ZgINEJEga4qVBDwc37wGW6pQ4nSLKjIe3HrowaJw5PH5EvGxadHR Onh1sDIpW8Af1DH6QNplZqz0ORwHqxZcSUvkggjZmXJxqRNXV0aCbfiKasr5uT0TH7UZ YPl3PrJja5b4LlBcbjAPfOVpHw7hPoPEk0dLvB+oszYfIgLUXgGY+mF5ygw/BCKCuKvA ViPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=6ALLhBqBjHnmgQAkPcMV+gpBizYMArPizUVFCmcFdjA=; b=vcPzXy8fBNATw5EWSMy6DEodK5dH3hlPCfOwnCgAUidEIsbTj4uXuQE5xplORUyqYK gla9dbN18e/FSgMaXn2vKdeHOjI2OA6zZPYkQjawf5lx2d2Cwe65iBpMDGm8gQJ14Qrb kly9rI7+HWfnAjs1pVA3VNsUU4l/9w2uaY/KXUImdjvRlYNtY6++OmJRHpKHSIa4b3uj N6Nonh+X5LyKQYei5WxJelOLi3SxIoC7ikDcMQRv0VGRVXBMhcA04bof37JD2MySPjNX FholHAW87kQdh8kSdC2tvbcw/FRER+l8sG943trVEXV/IfdUj1NlEZZ5w+v3CYQmmgnC bZOQ== 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 f5-v6si791460plj.201.2018.02.27.22.32.25; Tue, 27 Feb 2018 22:32:40 -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; 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 S1752050AbeB1GbZ (ORCPT + 99 others); Wed, 28 Feb 2018 01:31:25 -0500 Received: from mga18.intel.com ([134.134.136.126]:8538 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751818AbeB1GbY (ORCPT ); Wed, 28 Feb 2018 01:31:24 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2018 22:31:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,404,1515484800"; d="scan'208";a="21630172" Received: from linux.intel.com ([10.54.29.200]) by orsmga006.jf.intel.com with ESMTP; 27 Feb 2018 22:31:23 -0800 Received: from mooremic-mobl3.amr.corp.intel.com (unknown [10.252.199.128]) by linux.intel.com (Postfix) with ESMTP id 374625803EB; Tue, 27 Feb 2018 22:31:23 -0800 (PST) Subject: Re: [alsa-devel] [PATCH 0/1] Re: Applied "ASoC: topology: Fix logical inversion in set_link_hw_format()" to the asoc tree To: Kirill Marinushkin , Mark Brown Cc: Pan Xiuli , Liam Girdwood , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org References: <20180227155758.GD11822@sirena.org.uk> <20180227203317.17274-1-k.marinushkin@gmail.com> From: Pierre-Louis Bossart Message-ID: <10bebc9d-3c16-c301-b71b-87786525da14@linux.intel.com> Date: Tue, 27 Feb 2018 22:31:23 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180227203317.17274-1-k.marinushkin@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/27/18 12:33 PM, Kirill Marinushkin wrote: > Hello Mark, Pierre-Louis, Pan, Liam, > > As there are too much open questions regarding the bclk and fsync inversion in > set_link_hw_format(), I would like to suggest the alternative solution. > > This solution will fit both use-cases: > > * existing use-cases (Broadwell, etc.) > * new use-cases (Sound Open Firmware, etc.) > > The solution includes 1 patch for linux + 1 patch for alsa-lib. > I will send them to this mailing thread. That looks acceptable to me, Xiuli can you test with with the matching change in the SOF topology macros (we can keep the 'slave' in M4 files but expand to 'codec_slave' in the .conf to avoid making this exception visible). > > Signed-off-by: Kirill Marinushkin > Cc: Mark Brown > Cc: Pierre-Louis Bossart > Cc: Pan Xiuli > Cc: Liam Girdwood > Cc: linux-kernel@vger.kernel.org > Cc: alsa-devel@alsa-project.org > > Kirill Marinushkin (1): > ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() > > include/uapi/sound/asoc.h | 16 ++++++++++++++-- > sound/soc/soc-topology.c | 12 +++++++----- > 2 files changed, 21 insertions(+), 7 deletions(-) >