Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3206048ybz; Mon, 27 Apr 2020 11:52:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKzUQRPwVvAIUrOW6mTx8cynt8p/trQxa0rq/H3ej+ojjmjvzK1Nwu91k5FtFxP6WhjGCDd X-Received: by 2002:a05:6402:17c4:: with SMTP id s4mr20212258edy.348.1588013520623; Mon, 27 Apr 2020 11:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588013520; cv=none; d=google.com; s=arc-20160816; b=TWSkw4RVeVDgQJVSnxoYpUPBxLAdAQE10b60mNUtegII2sFTyRdJ+jhnu8aoaNnfWX gMDdV6n16Bh1BOPY8g6xJrZgjsSfCsEDr5f/Y7xRoH+jDQPvsd/duXawa03eO49BSG2c cypSUDI7QfyszzQWYA2O1AItzHnz40yxAgCWdBCT6gKJx/YdlUJbB+VLG/eOpcUmWVhO n/rDIWMneffXSPX7140wjm0CKy4m9D5GUxZfpjQ4AYZ28XYXIT7n9iWi9IWPc0CxmIeA dSOUgEBcqyCN3XVeBcTTXKLDQrJKDiY8Is8zKJ8zWTGW0lkBeAgoX2pMme9ucAxn+OYy Lh/Q== 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=R1POllTQpMqGW71QIZb+Spu1MF7Hj7I/EBW8ppCC9sU=; b=DnhBF9HNhIJbofT9Uk553GY9F8JHc4kD92ZrxhBqV2lZTBawhBA8d+hXKvkQ92T/rk WfSiE4ogTZJCa7xWQ4ucghibaMORrEVsnkGCzBHeakkGfg7wod6LuRBp6AfdROoS2tq8 E1dJo4rL2Hcqx97CNm5lIekx1vEtNoXaBqN8/X7v67sLKZ0+HsQ/IxHFmN9PBrz3YgSe +xCERMzHyPWY/38DlfSJw9iuK4QTiosKv+F1ig0UZGh8xgF6MbN1Ya2o07nGEhi7Lac+ Dwe4LEol1oNzOyXD8Dq4sCZvMcPb2uSyymkSKDc17Qi7I7pdbG7wPbschjFMsFBLeCqa 5abw== 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 df22si276809edb.272.2020.04.27.11.51.37; Mon, 27 Apr 2020 11:52:00 -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 S1726654AbgD0SuP (ORCPT + 99 others); Mon, 27 Apr 2020 14:50:15 -0400 Received: from mga11.intel.com ([192.55.52.93]:1575 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbgD0SuP (ORCPT ); Mon, 27 Apr 2020 14:50:15 -0400 IronPort-SDR: Gb7TgvMnL59TXDtLjeBYtR9kV/DYh14hb4U58hYH1V5338xrVFOV9Kk8bEqyMMv+ZyroCFpUEY 16JZbf56F46w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 11:50:14 -0700 IronPort-SDR: k6fGQjY5zDoVnhEwniGYbb5hHv7BMpYDJiTB4hMuK7siOIKOgQvYOh0kpULwb/lg/JW5wfE90S R6n1X0moitBA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,325,1583222400"; d="scan'208";a="281866779" Received: from unknown (HELO [10.254.177.143]) ([10.254.177.143]) by fmsmga004.fm.intel.com with ESMTP; 27 Apr 2020 11:50:14 -0700 Subject: Re: [PATCH v2 0/3] add channel constraint for BDW machine drivers To: Brent Lu , alsa-devel@alsa-project.org Cc: Guennadi Liakhovetski , Cezary Rojewski , Kuninori Morimoto , linux-kernel@vger.kernel.org, Takashi Iwai , Jie Yang , Liam Girdwood , Ben Zhang , Mac Chiang , Mark Brown References: <1588007614-25061-1-git-send-email-brent.lu@intel.com> From: Pierre-Louis Bossart Message-ID: <866ef71f-8794-558b-bd4d-c491ab4effc4@linux.intel.com> Date: Mon, 27 Apr 2020 12:59:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1588007614-25061-1-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 4/27/20 12:13 PM, Brent Lu wrote: > The machine driver bdw-rt5650 (for Google buddy) supports 2 or 4-channel > recording while other two drivers support only 2-channel recording. HW > constraints are implemented to reflect the hardware limitation on BDW > platform. > > Changes since v1: > - Change the patch title. > - Remove the DUAL_CHANNEL and QUAD_CHANNEL macros which are too obvious. > - Follow the naming convertion, using 'bdw_rt5650_' and 'bdw_rt5677_' to > name startup functions. > - Refine the comments in startup functions. > - Redesign the bdw_rt5650_fe_startup() function for readability. > - Add an assignment to initialize runtime->hw.channels_max variable. For the series Acked-by: Pierre-Louis Bossart > Brent Lu (3): > ASoC: bdw-rt5677: add channel constraint > ASoC: bdw-rt5650: add channel constraint > ASoC: broadwell: add channel constraint > > sound/soc/intel/boards/bdw-rt5650.c | 29 +++++++++++++++++++++++++++++ > sound/soc/intel/boards/bdw-rt5677.c | 26 ++++++++++++++++++++++++++ > sound/soc/intel/boards/broadwell.c | 26 ++++++++++++++++++++++++++ > 3 files changed, 81 insertions(+) >