Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1946169ybg; Thu, 30 Jul 2020 06:50:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1tQJchhcV6nkgF1T7ROD/SSw39n94KSlmsdPCYfPSpPlC/KBqWk8J+MbBL8xNE3NAvmir X-Received: by 2002:a17:906:9618:: with SMTP id s24mr2666063ejx.53.1596117045769; Thu, 30 Jul 2020 06:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596117045; cv=none; d=google.com; s=arc-20160816; b=myf7UtAlUFkvjXESheNTHVevh9xpMToAlpoBB/OgRy/6CEvpPo5GR1/tjCGpmz6aip XEmEI6Q3lum+oMai2wflkcH72uv2DAH+vKSzMdofjFSNVmMhXEuwUzLudXrsyb4chGc2 FeFh/Qio03WyipsBxdBjnBcb9CCj2h3cGlpuYwRJOcMh2sK6Es6toq2rAAeJtbe2DA7i +G5OfIe0ynfTnAEiNV39ynORxflKB/7ZcmbqgnnlzWnJVJL9uWW3SXKNuqD0pMjHddt6 62dSuvsWqUyZMqNaOGSQLPTJ1CFVQgWdAVGyxNo+kLuw84KtCvWBaXwjYyhHryVLgPMk vOvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=7h2NGtr50+fWY9a95fFpJa5Ck6XrwHy7hI3JL7hNYNU=; b=V//Ks8+c90oo0fAy1wDdItJJ4EW4unFJoOIPVMFs0o1BLY6PyFuida12JMhCqaJa7H 2rxkve22qch0OCeU7FHovIXEsugvZY33Ad7L7WjVfoH7uSTnvsGyoAxUuiS9pSKdfVmf e0h4hq5x8i9xFEDCEtaWoNBidNFYFQGkAFRSDu1HpmRwqXuMUpxaQEBrHKRF2wMOvbzG TbECHpns4pzeWsOgMUG9k5ooKVTvG9uh/hXqRIQiWh5ghyyYpGo7SFikg4wUHA2mMgti bbKJOF6XYNStAy0z+3KypMczuyrdYT6AL6G6DpNQVTSWO4/YQO7GdJNRQwJDDUO/uU+O TdLA== 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 w12si3563491edl.141.2020.07.30.06.50.22; Thu, 30 Jul 2020 06:50:45 -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 S1728868AbgG3Ntn (ORCPT + 99 others); Thu, 30 Jul 2020 09:49:43 -0400 Received: from mga01.intel.com ([192.55.52.88]:49930 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbgG3Ntm (ORCPT ); Thu, 30 Jul 2020 09:49:42 -0400 IronPort-SDR: mnCH8k2/HXBTuoHFUYapiqES7pfdQMrGuY38tucCi6xCdTcAK/wgq9FFrIQ/YQvdWE8SmIBIkp OuM7kX+tZq+g== X-IronPort-AV: E=McAfee;i="6000,8403,9697"; a="169718017" X-IronPort-AV: E=Sophos;i="5.75,414,1589266800"; d="scan'208";a="169718017" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 06:49:42 -0700 IronPort-SDR: YfxvqpoKyzsmflNuxxBu6oPO+XZR32091cdTsL9vvl0irDWf+tVtZQf7QpLfYe2mK03lFSlx+h Ha7SQi7AyuYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,414,1589266800"; d="scan'208";a="490662970" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga006.fm.intel.com with ESMTP; 30 Jul 2020 06:49:38 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1k18wD-004xUf-Rl; Thu, 30 Jul 2020 16:49:37 +0300 Date: Thu, 30 Jul 2020 16:49:37 +0300 From: Andy Shevchenko To: "Lu, Brent" Cc: "alsa-devel@alsa-project.org" , "Rojewski, Cezary" , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Ranjani Sridharan , "linux-kernel@vger.kernel.org" , Daniel Stuart , Yu-Hsuan Hsu , Guennadi Liakhovetski , Kai Vehmanen , Sam McNally , Damian van Soelen Subject: Re: [PATCH v2 2/2] ASoC: Intel: Add period size constraint on strago board Message-ID: <20200730134937.GK3703480@smile.fi.intel.com> References: <1596096815-32043-1-git-send-email-brent.lu@intel.com> <1596096815-32043-3-git-send-email-brent.lu@intel.com> <20200730084219.GF3703480@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2020 at 01:23:57PM +0000, Lu, Brent wrote: > > On Thu, Jul 30, 2020 at 04:13:35PM +0800, Brent Lu wrote: > > > From: Yu-Hsuan Hsu > > > > > > The CRAS server does not set the period size in hw_param so ALSA will > > > calculate a value for period size which is based on the buffer size > > > and other parameters. The value may not always be aligned with Atom's > > > dsp design so a constraint is added to make sure the board always has > > > a good value. > > > > > > Cyan uses chtmax98090 and others(banon, celes, edgar, kefka...) use > > > rt5650. > > > > Actually one more comment here. > > Can you split per machine driver? > > > > It adds constraints on BSW Chromebooks for same purpose. I don't see the > benefit to split it. I didn't get this. Purpose of splitting this to two is to keep track on per driver basis what has had happen there. But it's minor and up to maintainers, of course. -- With Best Regards, Andy Shevchenko