Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2613059ybg; Fri, 31 Jul 2020 05:33:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwD5LAtH0/57U7lxk5NEuxzGwvVAM/RUJgQXkdtvgt4Ybo23oWVxWTJt/gLPYbEZ9Iw5niR X-Received: by 2002:a17:906:454c:: with SMTP id s12mr3715305ejq.339.1596198811472; Fri, 31 Jul 2020 05:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596198811; cv=none; d=google.com; s=arc-20160816; b=x4z/VPPtG8rSpG5NM/54aTyQn7xEpxeXtkn2YuHl+h3Op/Klkq9lAhT20t02ihc1hU Sqvn6vOnqgfXJnOqPYWlTYI70WTUgiJkzfi7lpGP9aRVKVji8ogMeV9cL9jziHEYIKY4 JLyHj4COqGRMJnY1wyes2gyN2WlKSw6iGpuHxwQiA3AEuAEKkN28i0BC18KpMlyrO56M KLpV+7TUjcJOuBsWsHzBNFsyXj3iJKl3v6J48lZbZ3FKZdZDK6nUSn9T+ksZRc7XILnv PmRrFBvGO1xRkuGvv1Mfvp9liLrFtEAhlbqqfZGMl2sRzFumfGvICz1UPzrIP9TXDHT2 Frig== 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=/DSXsxC4d3afkXBSjuL3pGAuYWQaRCSLme1ZSEcsOnU=; b=AZoDG7DaAIb52uQ1NYQOBb3hwUVLW05FUyupc63o96/tOczIVA9idv2ItHOzA+7YSH ql6Ulh8qXwudanhNi4lPB745mcXVbuCNmIlzJE8GuMd1gpnNkUu/qWINrRpAmJekngPh hLPvHpRFHkaoM33ArcbQh0IKWbCTInbMN6xgQBVrybu/iZKEIYFPpgaqCvbwSWBXoX+2 ELY3Zo4pbCwa+uragk9xB5WMYGWj7zF3vl4Rvchxp1iBIynnsjO88q0Z8P8m3VpWD5xE bPBfZPRQOlNgiX/Hy9wHUC8mz+mYlLWk3H2WXLzPYwSzLCOsSCN9UbpEhRwVKo6jigXw csEQ== 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 s16si4958038ejm.36.2020.07.31.05.33.09; Fri, 31 Jul 2020 05:33:31 -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 S1733171AbgGaMai (ORCPT + 99 others); Fri, 31 Jul 2020 08:30:38 -0400 Received: from mga02.intel.com ([134.134.136.20]:51623 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733165AbgGaMah (ORCPT ); Fri, 31 Jul 2020 08:30:37 -0400 IronPort-SDR: zMWc68lAhgkivuW1x/1CycdK9MwoMUC8GdsGjUE3FufrDKA7sV86lZOlFjO3pAgoEUeugBRp55 v+k9w2d0P+0Q== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="139748502" X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="139748502" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2020 05:30:37 -0700 IronPort-SDR: sX08mrnWSa8zWJRRR0sQWabTwfdl6QPDe7BNgwczv9dgtKx8nIawNWaHg0kD/HBT4Vaauwirv1 p2sElXqEMG8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,418,1589266800"; d="scan'208";a="365483154" Received: from brentlu-desk0.itwn.intel.com ([10.5.253.11]) by orsmga001.jf.intel.com with ESMTP; 31 Jul 2020 05:30:33 -0700 From: Brent Lu To: alsa-devel@alsa-project.org Cc: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Ranjani Sridharan , Brent Lu , linux-kernel@vger.kernel.org, Daniel Stuart , Andy Shevchenko , Yu-Hsuan Hsu , Guennadi Liakhovetski , Kai Vehmanen , Sam McNally , Damian van Soelen Subject: [PATCH v3 0/2] Add period size constraint for Atom Chromebook Date: Fri, 31 Jul 2020 20:26:03 +0800 Message-Id: <1596198365-10105-1-git-send-email-brent.lu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1596020585-11517-1-git-send-email-brent.lu@intel.com> References: <1596020585-11517-1-git-send-email-brent.lu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two different constraints are implemented: one is in platform's CPU DAI to enforce the period to be multiple of 1ms to align with firmware design. The other is in Atom Chromebook's machine driver to use 240 as period size which is selected by google. Changes since v1: -Add comma at the end of media_period_size array declaration. Changes since v2: -Use snd_pcm_hw_constraint_step to enforce the 1ms period. Brent Lu (1): ASoC: intel: atom: Add period size constraint Yu-Hsuan Hsu (1): ASoC: Intel: Add period size constraint on strago board sound/soc/intel/atom/sst-mfld-platform-pcm.c | 11 +++++++++++ sound/soc/intel/boards/cht_bsw_max98090_ti.c | 14 +++++++++++++- sound/soc/intel/boards/cht_bsw_rt5645.c | 14 +++++++++++++- 3 files changed, 37 insertions(+), 2 deletions(-) -- 2.7.4