Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1413798ybg; Wed, 29 Jul 2020 13:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+NXpU1fGhUTDulWCXnk22b2HO1wGL3aTVCDW53v9RTpBgWMP2HtG1vxV6mDCA1rRW3xdG X-Received: by 2002:a50:e0cb:: with SMTP id j11mr45497edl.159.1596055097457; Wed, 29 Jul 2020 13:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596055097; cv=none; d=google.com; s=arc-20160816; b=jEw3Dj+3h8z8G1jb0qv2Xw71+RZKstYr3OX0cPF9wxOrDctWxrNUpb/rpqAtlUys9v y+dY1VgV40m9u2jEwHANYSAM1LDU22OEpGLC5ilv//aXrjoH5B9Qw4tcxI4rTpI06Qc5 V1q4+qtpBmBcZbn0td6C6hx8TEqiQafgEVnegBrdLx9yj+NLF4AgU+gImX2hxYFworws 0fRzlBqs1AM0noVxGG9tkCvWTzPoya9HpddwmsDfArlECbXhsD2Up6qMSNtkaMftsr7x ToTWld30d7Ky2p+S2lVT4NMvWeMXRRqM6WCP17tPnhC51/UUbsNgRQejhho+GEvtagHS ZJnw== 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:ironport-sdr:ironport-sdr; bh=4xfYaahloZNNKsDlDYZHOv2MMP5XOndf7ftkYpcqxKE=; b=NQNi8ZEdjLDxjUitEPlspLb52D5pTYsunAI4TZTqkR6kwtSZj+easfnVbvDoi7kqiD QSA6uZCPSwHxhMFZCrfx+qzTUpwhvh1z8HrYdaZQ0aBxm2tL5bmY0tDLtJCaWNXVmC0J xgQJj+mRubrQJurSDMmYwxd8DehwDspYgUXeFNsbxoUy2qb0JPlzRowUJDMuZTmofeWa Pdq3zNSm4WISrCu+mmThkoIRnEd2f+5aHLqtBU2Mdtq8SI6WI07nExtCqaRaDziuOoIa Taykxwo1zRt/mIIOaT21q1safxBZP+CrbeXRqo/Z+Px3i8jS01HrJ1rCSamaTOojBYrg ZyFw== 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 oi19si1451183ejb.229.2020.07.29.13.37.55; Wed, 29 Jul 2020 13:38:17 -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 S1726826AbgG2UhL (ORCPT + 99 others); Wed, 29 Jul 2020 16:37:11 -0400 Received: from mga01.intel.com ([192.55.52.88]:10803 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726816AbgG2UhL (ORCPT ); Wed, 29 Jul 2020 16:37:11 -0400 IronPort-SDR: 9eACnjcFibkWVksOgqqAU1yDFQmiMD7NWfqNVuMNbwSA9iywWFd8ktUe7RzD5vG8Yyw4nLcEwq jEXG0eqkuBlA== X-IronPort-AV: E=McAfee;i="6000,8403,9697"; a="169618237" X-IronPort-AV: E=Sophos;i="5.75,411,1589266800"; d="scan'208";a="169618237" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2020 13:37:09 -0700 IronPort-SDR: AhBbttFInNRymbG7AeDpgZHAm401upJ2/B9J015ZQnLat1qHHvuQgZIhOq1EzVdM9qTLTLovj3 fodJr0dxeIpA== X-IronPort-AV: E=Sophos;i="5.75,411,1589266800"; d="scan'208";a="464991564" Received: from jayeshpa-mobl1.amr.corp.intel.com (HELO [10.209.169.93]) ([10.209.169.93]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2020 13:37:07 -0700 Subject: Re: [PATCH 2/2] ASoC: Intel: Add period size constraint on strago board To: Brent Lu , alsa-devel@alsa-project.org Cc: Guennadi Liakhovetski , Cezary Rojewski , Kai Vehmanen , Kuninori Morimoto , linux-kernel@vger.kernel.org, Takashi Iwai , Jie Yang , Liam Girdwood , Sam McNally , Mark Brown , Ranjani Sridharan , Yu-Hsuan Hsu , Daniel Stuart , Andy Shevchenko , Damian van Soelen References: <1596020585-11517-1-git-send-email-brent.lu@intel.com> <1596020585-11517-3-git-send-email-brent.lu@intel.com> From: Pierre-Louis Bossart Message-ID: <4fe97f63-e552-3b2f-803c-53894b196bfd@linux.intel.com> Date: Wed, 29 Jul 2020 09:08:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1596020585-11517-3-git-send-email-brent.lu@intel.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 7/29/20 6:03 AM, 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. Is this patch required if you've already constrained the period sizes for the platform driver in patch1?