Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3139682pxa; Tue, 18 Aug 2020 07:37:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT8+L6AChKRe357kcIzix4nxTVH7yIDEwORQSV83TtIblPPNFAlPmnqdEsCUpwOv3/5eHv X-Received: by 2002:a17:906:3e4f:: with SMTP id t15mr21668461eji.368.1597761426170; Tue, 18 Aug 2020 07:37:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597761426; cv=none; d=google.com; s=arc-20160816; b=BmY9Pt4ceHeLHp0TbS5GmztbA50hU26eXWEOp+6Cvdt9WkU0H+Vd2p74SoWSJ7uc7n bG/RPCvm9tUwJQlpxRWRhktx90S4cOgkPrLb0XKY88cKDFNOuRwIXs6ndMWAHcVIfh6n bg5/L0HJCMZpKyYKXbtewHmbGC1yiHoUTI4FCFioB+gyq7p+jN/2mPpCjsOONHltdgDK /OmP7MEnyC+FSquKjeqi8EkNT1NzVOLCx4qZj9JXRuYzNCqXK0CQNi73qXKPQsKJ2R15 DZawAzJitF5BfNf5QFwUhXte7wWi1CVfOzrzsD1C25tanRUrFNsRbT3aEtoCd2jwbFXR zWHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:ironport-sdr; bh=2jqPKvCwEJSyTWB5ySQaNitT1eMdZY4N6Y+dwiHuy1g=; b=vFpXRgPD8B5IZTZzEMhYBCLL40HGVJJ2J83RYKz4oj0O33V5LI7t9Z4GtZRbH2MVVI NIiEk8UCtfngU1W5B6B3bR6BmHX7TSmTB4j7pHrt+rLXJw72gPCu67qHUPt2TGixHUg0 p7B+Gvo82NkcNFjTb8iucBgtYUjwmwglgGPcb4MdcS4duGSbgxA6zdSIhgECrS7Jgnq+ umplP9invGOr9X8xvcsKruYxfFXlInu9cRkqQZFiCTnoXf8D93F2+SMwizzBxjry8VFT SZZqK4DNi6HVxdvQhK5zuoC17wCb5EKxTzx/BwKVr4ihAM6+RvqKwehEQGU3MIUbhZ3Z EN6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si12915676edw.453.2020.08.18.07.36.42; Tue, 18 Aug 2020 07:37:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727120AbgHROfo (ORCPT + 99 others); Tue, 18 Aug 2020 10:35:44 -0400 Received: from mga14.intel.com ([192.55.52.115]:33372 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727063AbgHROfj (ORCPT ); Tue, 18 Aug 2020 10:35:39 -0400 IronPort-SDR: lKA/V50jUJ72r0nEoaDkHpvgpRlj0y1hiHK+5W+40riG68cCLE9ryC2KRrQx8NSMzIJPwqnGel XQ3oD3amo0Pg== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="154170517" X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="154170517" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 07:35:39 -0700 IronPort-SDR: Nm5sXXdIiKloF9WkqN4c5PIQZLYiuslrQENHSkOpmHr6kagJ77jfHpkmRUNlSd2RYqyvt7HdB5 OZGwBLlp9tDw== X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="471830602" Received: from bard-ubuntu.sh.intel.com ([10.239.13.33]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 07:35:35 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, rander.wang@linux.intel.com, ranjani.sridharan@linux.intel.com, hui.wang@canonical.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, mengdong.lin@intel.com, bard.liao@intel.com Subject: [PATCH 06/11] soundwire: intel: add multi-link hw_synchronization information Date: Tue, 18 Aug 2020 10:41:15 +0800 Message-Id: <20200818024120.20721-7-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200818024120.20721-1-yung-chuan.liao@linux.intel.com> References: <20200818024120.20721-1-yung-chuan.liao@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart set the flags as required by hardware implementation Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/soundwire/intel.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index f4441684bd7e..89a8ad1f80e8 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -1400,7 +1400,14 @@ int intel_master_startup(struct platform_device *pdev) dev_dbg(dev, "Multi-link is disabled\n"); bus->multi_link = false; } else { + /* + * hardware-based synchronization is required regardless + * of the number of segments used by a stream: SSP-based + * synchronization is gated by gsync when the multi-master + * mode is set. + */ bus->multi_link = true; + bus->hw_sync_min_links = 1; } /* Initialize shim, controller */ -- 2.17.1