Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4920680ybv; Tue, 11 Feb 2020 05:58:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxZsOqwEBXFNY4uEsbPlrfZDNiaLJQoXj1sbRsxiuwX6xF+lURUcBjPC7xDOIwozeLAw4nV X-Received: by 2002:aca:1903:: with SMTP id l3mr2951157oii.16.1581429499914; Tue, 11 Feb 2020 05:58:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581429499; cv=none; d=google.com; s=arc-20160816; b=NwEHZG7wjImgi8lOmfdUN/LbnXNINGKOlG38+/4BAeTI6EBR1lTGGh637LFKNgdMY2 BftNMyOAGdOsyj/K1bIWYZV0lt7we+2mXHat2C489Q2f7gWBhACVAkY8Vr7FmbDv4BJZ OXYfSBwLM+ce041Wq24kN4nvF0E2rhc98y/5YfnvDiAqub8zkD90qtDZcqZwoP96xDiz 3PIybOzoRVwmZsNzHtdq5uETe4/CWBdnn5CGcyRFLBEfvESVKING3imbaFOtWskWthq7 WJ4hI9wBLfyssoSYXhTZU/FRrhMSGx0zuZNgan/Qj/cODh+6f8xlQlMPwwqzt9pKAI97 nRhg== 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=4UgsNF2DfSAJSAEAuD7fkyhncR/ncVh8kAIH7kgJv2A=; b=wov/+d8dGv6Lq3bXcMIrctXIC2mjMyr9vtp5lWE/71OeOIVoJEiUadq1kirhpYBhMR Qzp4aArnzD8E23lPsbfZplRy0P8wp6VFCtdEeFHya1DY/xPvpogZuYHsGOCTe4c0r9Kc TCMXJnExX87eYOwNFLG2Ajk1tW+yRn3GR9e+9AwG9m6rhTWpQnArcevx2ajZimovXQJu F6U1ZQHJUZWY1hlEb0S4n22/3ORL9AATOV/fewRoMr/cSoOIzjPgEHI7FDwLZBjzdOjn KM+1iwAT5NJI1A8CU42WZomdJhnkRTal/UgkFumAEEXZs3ADbhB23m9hizZ+RC1INF2o yZvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b="Ssoit/C7"; 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 u206si1853630oia.224.2020.02.11.05.58.07; Tue, 11 Feb 2020 05:58:19 -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="Ssoit/C7"; 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 S1729338AbgBKNwb (ORCPT + 99 others); Tue, 11 Feb 2020 08:52:31 -0500 Received: from mail.serbinski.com ([162.218.126.2]:54546 "EHLO mail.serbinski.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728624AbgBKNwa (ORCPT ); Tue, 11 Feb 2020 08:52:30 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id CADA7D006F9; Tue, 11 Feb 2020 13:52:28 +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 MnOnwGJcKCEn; Tue, 11 Feb 2020 08:52:23 -0500 (EST) Received: from mail.serbinski.com (localhost [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 4F86CD00693; Tue, 11 Feb 2020 08:52:23 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com 4F86CD00693 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581429143; bh=4UgsNF2DfSAJSAEAuD7fkyhncR/ncVh8kAIH7kgJv2A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ssoit/C7jtU+uEyLBQlHyTfLDiONn8FBviOZQ0wZQ7bzpeDh/52Y6RjL0hK95iw6w CAsfhZGI5lqAnLqnO/pA3fRbCr2t+TeGXKjon6ZvGiVTc+vduNIAZmmKhNUTBOCw0b nwYbCqj3d60oW8U+tkAROVgAxx84Q5ivNylYa9tA= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 11 Feb 2020 08:52:23 -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: <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> <20200211114256.GC4543@sirena.org.uk> User-Agent: Roundcube Webmail/1.4-beta Message-ID: 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-11 06:42, Mark Brown wrote: > 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. Ok. Its going to take some time to get my head around that, so for the time being I'm going to drop this feature and get the rest fixed for inclusion. Thanks.