Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp631291lqp; Fri, 5 Apr 2024 04:33:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWq3BuM3vrJS/LHOfU6cyoVicQzeyVP4M4FZlYGO2TJeC4N+XEgIkR+outh3DqkTIAWP8sWIeCdd474kFyb1SDhwMbFLl7ssUUJlwAH3A== X-Google-Smtp-Source: AGHT+IFWlIOuZRNcIYIet2K4GaU2BVtouM9A0U9J/u0Jcsw+s9CTxveqkogX9zYlsX/Oe0mfqQ0N X-Received: by 2002:a81:48cc:0:b0:615:20db:4a48 with SMTP id v195-20020a8148cc000000b0061520db4a48mr1055086ywa.21.1712316797584; Fri, 05 Apr 2024 04:33:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712316797; cv=pass; d=google.com; s=arc-20160816; b=nRoicP8VWm7fwzJZbh2EVq2N/6AHF1L5U5uNQvtf+hT/TO6HokHxKM/cW0FaLAsYCD YSPXj33Gg5Hql4wV5UFkOCF92ma0hfHGPrAs0DokdPo/J+B9AIXqNcoDM1uKfOki+TM1 LC373d3N6OBONasNpDd4gXLzrNLCWLolKmT0ho+jZxyVjK3rtxXjkhuAe5lIFSD+z+Af tF7eYK5vLQCGCLXa0qg25oU9yZyF3lkvjm9YsZw5WCkQFdKo0jKQTy3UjMC07Zm3BiFC EKHriUypGWJS+Aq+sXBmIdjb6czZvkuMYvAGPlDVSdbefW8lLIKYe91IWwx34ZFsrGbM C2Lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LjAQbfC3RVwFNzjd4n/QrgM7UbVlMtFxD8OO7OxXox8=; fh=lxcLD4MP3gK7uoYpPIXrrd2t5CZolXsWf/qTT29N/k4=; b=DUG8nweMlpfAG1FDUyH/KRQlIyRYcKvF5SOInOpslFslcsls9Gzsk4E5wbPlyDt3U/ Ll/U36f47V7lRJ4BIVA7Kl6axprfKId6iHhovdLrD1axBlJ6OhieztdUWv8GlsapJIbK iQigBRKlH8fzOmV2Kd0XvttwHcjldD5Hr3ip90Q6mqcgADJ413UYIPAftIT6RNMLaRa2 HYnIdu1qUwJC9X4bMPzZ8s4GwJpeqL+5lAjutthBGZiHBciian28taXaxGwITSfgRh22 BHj57fZBDStcKtkeRvhBRCn1nQ3IIhdGuXJ/Id4FG1PwLLKdzplslbtud5IFq3umyCTD aVtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YDR2tSlT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132910-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o19-20020a05622a009300b00432bd707fc2si1574083qtw.403.2024.04.05.04.33.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 04:33:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132910-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YDR2tSlT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132910-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4D49B1C217EA for ; Fri, 5 Apr 2024 11:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B52716C690; Fri, 5 Apr 2024 11:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YDR2tSlT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF25F1649D9; Fri, 5 Apr 2024 11:33:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712316790; cv=none; b=DOne+qXVxuqS5FiZmsjmUPFubw79+EkIBv9wRkRO9hP1r604SKDnJucxhD+IESGRq5YcfmoM3YlDML1VXdVOHw3+IA8KGpbutBkRpEHmsJpPGv1ETVMbF2LIDo0QiQxbNDlFTAEWU1VHryHsxkUjvblVdu+DaahLLkOQKsSZdxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712316790; c=relaxed/simple; bh=1IJxKXB+iIW8cKud3ZyPKD1YQbL8JP+Q6dQ7MVjZPnQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QT3Kij5YSQJlvThrl6rFcqBG9ef1Zs/8fCVODBVDnoWIQ9zrm0XZArubZuEXmZfxEqWTGlELiaFV5icu7IrAdOjhE42MBbMdACM9WzMCnvJD5U4a0MdjzAelXOHibgo/7FklHrsGDczKqHEJWJaTme1CZBeZPltWMHGUvMty/tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YDR2tSlT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7B07C433C7; Fri, 5 Apr 2024 11:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712316790; bh=1IJxKXB+iIW8cKud3ZyPKD1YQbL8JP+Q6dQ7MVjZPnQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YDR2tSlTuRGcnmG+PbyU4+itCc5G8tEb8kvsp+vyHqHH4ey71I4Xlb5K5+Z1R+SV/ WnodWDdMIv8JKRZw4ysq0ZA2RTcurvGoluKHZqgDkYomP7TgnT/HfVtAFFqEBQgqU0 qIsenfVnNmMUqYO/KCzUnxrhDSwDwYeYcqsZQuQvJ9yZlfD2LbPW94MdCDQ1kPiEZJ LuyrZn+7KrObiaMYspKcR0O/wRlE0PPzjH9SB7LFE7nmnwTchm639cX9xwf0dMk8fp is+/INaqMbr4NIQ+UyaLTYKMImK4spsYpFm5GLwy9M8F3p4KfHdk0d3YcTFt75xdXp Xg04fQ9o3RCdg== Date: Fri, 5 Apr 2024 17:03:05 +0530 From: Vinod Koul To: Bard Liao Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: Re: [PATCH 4/7] soundwire: reconcile dp0_prop and dpn_prop Message-ID: References: <20240326090122.1051806-1-yung-chuan.liao@linux.intel.com> <20240326090122.1051806-5-yung-chuan.liao@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240326090122.1051806-5-yung-chuan.liao@linux.intel.com> On 26-03-24, 09:01, Bard Liao wrote: > From: Pierre-Louis Bossart > > The definitions for DP0 are missing a set of fields that are required > to reuse the same configuration code as DPn. > > Signed-off-by: Pierre-Louis Bossart > Reviewed-by: Rander Wang > Signed-off-by: Bard Liao > --- > include/linux/soundwire/sdw.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h > index e5d0aa58e7f6..e3a4bccc2a7e 100644 > --- a/include/linux/soundwire/sdw.h > +++ b/include/linux/soundwire/sdw.h > @@ -235,7 +235,8 @@ enum sdw_clk_stop_mode { > * @BRA_flow_controlled: Slave implementation results in an OK_NotReady > * response > * @simple_ch_prep_sm: If channel prepare sequence is required > - * @imp_def_interrupts: If set, each bit corresponds to support for > + * @ch_prep_timeout: Port-specific timeout value, in milliseconds > + * @imp_def_interrupts: If set, each bit corresponds to support for why is this line modified? seems to be same as previous and leading space added which might not be correct > * implementation-defined interrupts > * > * The wordlengths are specified by Spec as max, min AND number of > @@ -249,6 +250,7 @@ struct sdw_dp0_prop { > u32 *words; > bool BRA_flow_controlled; > bool simple_ch_prep_sm; > + u32 ch_prep_timeout; > bool imp_def_interrupts; > }; > > -- > 2.34.1 -- ~Vinod