Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4831929ybv; Tue, 11 Feb 2020 04:21:02 -0800 (PST) X-Google-Smtp-Source: APXvYqwo5Re5rltkVWZFa/ppjpKlO3ZD/eLeU3cZoyU1NSgiH5Ij01uMTcF/v5TwOdENuhjithg8 X-Received: by 2002:a9d:22:: with SMTP id 31mr4683048ota.173.1581423662080; Tue, 11 Feb 2020 04:21:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581423662; cv=none; d=google.com; s=arc-20160816; b=mq99JYbBDqlE9bcZj9jlXYOTv5WhUTSRyUtDY22zDA3K2LKL/hLEJkLWCHlcgVe0nb 9wSL7p1+gYidldz3/W0fEsfyakRX7V54V4DbnOwNMNB3J4w1qJQBoMYXD2+LGxUHGWa+ PZHtLh2uRtvez9Kgosv2hI65JkK2ZgR7AEIIVvVV0TaFcp8Q8vNE7Ta8hIwwj9VlOk6l VBeBjdWAuHIa2xNC/O3zB2f/Nj5En0SjYYB6FDlouR3hzv2qbr6ZeX/SS0tulhxjIwCP bTI9InrYEimuPtWGcM8Vw7+DwfTZLnaweDHAelOMsnfSiL0F9gbOfXc6S3UEjyoxvj7w 9wPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2VkS/4wvT5SEgArGFq9wfNHLH54BccDXdeJQLd7wKoY=; b=ksmHE/rRXRtYZG1yIKWHbLvRzTzhGW0XJbBAUDj+dUQ51xVfFQ+uLyPmXwotss1w+P tWT04FHUv7/AzFKCQvHlPeiBOwp5GOMHtLg2GjITsvt0qGyhTJvhmnpRWsS9xiT6h8Rg 7BU2Iw/RqoebI4owP7Oaz9hObskgXO89q9lb9BpxqeWGkkfqIZdDz8P7JdToMfEua3hb wp7GoxEwsQ3MlDUDfl4rKCqsHZ3tAJ3N5J4sD/GCdPhPfqzZwT4U7wasZ3uPttx/vp0Y kktq944o9IpZeaY6UWGIRahoZ3KLB5DPtKxQxRY6X/Q9pez7i3d+ce4B/o+NKh+Wls75 h0Qw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si1806021otq.209.2020.02.11.04.20.49; Tue, 11 Feb 2020 04:21:02 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728419AbgBKLm7 (ORCPT + 99 others); Tue, 11 Feb 2020 06:42:59 -0500 Received: from foss.arm.com ([217.140.110.172]:44432 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbgBKLm7 (ORCPT ); Tue, 11 Feb 2020 06:42:59 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4F48231B; Tue, 11 Feb 2020 03:42:58 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C78C33F6CF; Tue, 11 Feb 2020 03:42:57 -0800 (PST) Date: Tue, 11 Feb 2020 11:42:56 +0000 From: Mark Brown To: Adam Serbinski 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 Message-ID: <20200211114256.GC4543@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> <18057b47c76d350f8380f277713e0936@serbinski.com> <20200210182609.GA14166@sirena.org.uk> <20200210200839.GG14166@sirena.org.uk> <7c57801d8f671c40d4c6094e5ce89681@serbinski.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ctP54qlpMx3WjD+/" Content-Disposition: inline In-Reply-To: <7c57801d8f671c40d4c6094e5ce89681@serbinski.com> X-Cookie: Hire the morally handicapped. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ctP54qlpMx3WjD+/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 10, 2020 at 04:13:52PM -0500, Adam Serbinski wrote: > I am not aware of how this could be done for bluetooth, since the value > still has to originate from userspace. The driver you referred to supports > only a single sample rate, whereas for bluetooth, 2 sample rates are > required, and nothing in the kernel is aware of the appropriate rate, at > least in the case of the qca6174a I'm working with right now, or for that > matter, TI Wilink 8, which I've also worked with. There's generic support in the CODEC<->CODEC link code for setting the DAI configuration from userspace. --ctP54qlpMx3WjD+/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5Ckz8ACgkQJNaLcl1U h9ALGQf/Ss3ZIdJmQ7t1NLJpgkPvfgCHptgk+NO5wYCwd0pQJbzaflRdG45mcDPG bQRKfEaZEqvPWxASdTQTiFdmJg6zLqlvkQYPcor4DCPcB1bCkPS9hkeOSUxXSsOa ICLmJPQyoUqNyb6pHa6ghgfdVRPIr+GWPn0Zob/QpwybzWKBA7VHKmTEnxGDIq0z pLzYVaV03fmVkJUowVTUdZ40LP8mjTWVcXnk/NzM1qEs3T39Q6DmAUyR7IemHBBf wJr/MPk4Nr/9nPsmtD+5eJIG6m68tUximFPFeYIfid+WrHlY68RVcpgOBUG4LuvT ENG+UsqfuA8Olmmq+tnZG3Imx6tmzg== =pysG -----END PGP SIGNATURE----- --ctP54qlpMx3WjD+/--