Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3862653ybv; Mon, 10 Feb 2020 07:46:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwDP7PE2eSxu4tGUbl2ioV880W07raCXn8hxSHBFzyJAb0j8z1NEsd0kJLwiNZtrkZNn0g2 X-Received: by 2002:aca:a816:: with SMTP id r22mr1230463oie.1.1581349561066; Mon, 10 Feb 2020 07:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581349561; cv=none; d=google.com; s=arc-20160816; b=OTf6Y9cSAQ0aw8Ge4zvAlJd9LZgNKR5fi70PElPOPZslCtAE2tABn0rTpbGYvAQWOH LX+roOJjr4y7EHT+CR4ML5pExnyWuPx9OozBKys4fQQn6Ox7gfoReHTZ8BPsn/GqUV+N H58TC47r8UacVJptaPl53cw8JtNsvtvP+ktDs33RXh4Zh4j8FLuhJEc86MrzXTCRQ7iE nCn/CjhQd1Rn1rO3lMy7bfVpWPqWTz9SZmN0cSTuWJfqsSg22JA3/eMdY6BgbRQtntbk 5kgZE0IzxQ4l/mVFOUs6g0MH0yL3ecWNfGQ8YM8BBo7Q0+6++iWIdTiZdPF57ouEs5iO 96hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-filter; bh=cgzaas0LPv50cOT+2MC0flSgiGLs+1OYFMtEFdzI+9Y=; b=Is1RG9G4tpaK5VTCs1NmZf5eS8KnrRCfdNUj8c2vZeNtASOS0DfbHr3cZzc7MQXD43 jmQgfhNplbV0wdFWW7KpxsVtOaC+k6Zelgjs0OBBayDTeYVzfyd2PdKWj0AakunnLs6K 5oY8KxhmJZb8+Sul2tvvUP0d0jxyE1FVfdhzExp3PxAEgj9x6YAye3nSmTzawpQ78fEb 5+1jutWsfQFsnO0w4AfzIA/V4XgjSilLgw1XvWOkQNCmzbHHiLCHb5rJJcSvzk/WyRnZ BLsP6Gu+y9c9RQHjsU+WfVVB4QCDBgGGPEz9+bj87BeKQ1iZlV6lcYbNdZIBb5LNFsMH FFiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=R95TpP03; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si308993oti.311.2020.02.10.07.45.49; Mon, 10 Feb 2020 07:46:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=R95TpP03; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727499AbgBJPpW (ORCPT + 99 others); Mon, 10 Feb 2020 10:45:22 -0500 Received: from mail.serbinski.com ([162.218.126.2]:53018 "EHLO mail.serbinski.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbgBJPpW (ORCPT ); Mon, 10 Feb 2020 10:45:22 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 8BD69D006F9; Mon, 10 Feb 2020 15:45:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at serbinski.com Received: from mail.serbinski.com ([127.0.0.1]) by localhost (mail.serbinski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RU0dbJpuXSmK; Mon, 10 Feb 2020 10:45:16 -0500 (EST) Received: from mail.serbinski.com (localhost [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 264F5D00693; Mon, 10 Feb 2020 10:45:16 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com 264F5D00693 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581349516; bh=cgzaas0LPv50cOT+2MC0flSgiGLs+1OYFMtEFdzI+9Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=R95TpP03Z2najOK0N607cJhi1GKdKti38DMqwwGSmgYAXHDbUTpNfJy94pKthGMkl VY+b5ALw30rca8MF3RzDpXXmgCF4Ua3ISzhn4la3kag0BP7BSKsGxgAWZtmozbwK0M aWvAj8ofKAwd9n0MZxeaYQo2yJ+PQjJ8C8R/w9ho= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 10 Feb 2020 10:45:16 -0500 From: Adam Serbinski To: Mark Brown Cc: Srini Kandagatla , Rob Herring , Bjorn Andersson , Andy Gross , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] ASoC: qcom: apq8096: add kcontrols to set PCM rate In-Reply-To: <20200210133636.GJ7685@sirena.org.uk> References: <20200207205013.12274-1-adam@serbinski.com> <20200209154748.3015-1-adam@serbinski.com> <20200209154748.3015-9-adam@serbinski.com> <20200210133636.GJ7685@sirena.org.uk> User-Agent: Roundcube Webmail/1.4-beta Message-ID: <18057b47c76d350f8380f277713e0936@serbinski.com> X-Sender: adam@serbinski.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-10 08:36, Mark Brown wrote: > On Sun, Feb 09, 2020 at 10:47:48AM -0500, Adam Serbinski wrote: >> This makes it possible for the backend sample rate to be >> set to 8000 or 16000 Hz, depending on the needs of the HFP >> call being set up. > > This would seem like an excellent thing to put in the driver for the > baseband or bluetooth. The value that must be set to this control is not available to the bluetooth driver. It originates from the bluetooth stack in userspace, typically either blueZ or fluoride, as a result of a negotiation between the two devices participating in the HFP call.