Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4092876ybv; Mon, 10 Feb 2020 12:09:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwyc6CvVPN60ZUGMc/vhg6IS616ee1M9DYzO3SNjqzkuA2MCcSgPQneKPHZKVvWCNnT2eGG X-Received: by 2002:a9d:7dc9:: with SMTP id k9mr2359496otn.117.1581365369974; Mon, 10 Feb 2020 12:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581365369; cv=none; d=google.com; s=arc-20160816; b=UZjjVAGsG6uQ5y80iKAUa91rgEa36FE3KU3jVl0nrFaLh8RxsmIjQb4+SrQfRV8w+I 7dcOZibFiYI0mgDfyZJ1ZjdsoF9R6jXKAt5TjlFaKAAXRL1rKwy55KM6/Qw5TV6BF5RH dLCPcKNrMY50jSwoQ4FOBGx/90NuNiSs0swh1tXQ998It4eRmg9PWnw5XGawQs6OLPs7 AMluyjM0XQ2RbQ6gQM6Vrz1FSGvPzB3qhYnRlpY4g1jfKuBJjSl2jWUWuLBCIZI5raWZ XE4ORHRMbLuVTeouqPRgxkaU4lt00ElDmRIB/lgZHdcvIy+9N6brObIX0DyID2fssRt1 92RA== 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=92LaO+5OBJMiy9rnqxWZ3k4UMf1xQi81iTVTf/KLRas=; b=iDPhQph9vVqP6t2zB49RiKx2u7AC+4PjhFe0pU5L9ToqdEaA1BNotVfh27KH/5CLIC crXvYcaEcJvIT+drZQ/hZsI1566O9FctqrtCTy2MOr60EfG/mzrLZQ86deTm8G2n7CmP RgWFwyLYPzx31OwkXldsgt/Zo8z5iQxoQB0rDWPS74nPOmt7ly2skPgTiRPmfssgLBv7 WX4/CY+HV9e5t1fXJ3GMpxOqYgj4xkIKmcmlGJtxuWMQKic4S4UVBo20NoBykLrJkFKI MOZvKWWqFdVroXXX+zKICWXLU/DLgXv1bE4YctBrVwcdRi/S6i/NzeNNMtf+YMkjpw3C GkOg== 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 o2si718003otj.312.2020.02.10.12.09.18; Mon, 10 Feb 2020 12:09:29 -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 S1727549AbgBJUIn (ORCPT + 99 others); Mon, 10 Feb 2020 15:08:43 -0500 Received: from foss.arm.com ([217.140.110.172]:38402 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727003AbgBJUIm (ORCPT ); Mon, 10 Feb 2020 15:08:42 -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 DF8D431B; Mon, 10 Feb 2020 12:08:41 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 614613F68F; Mon, 10 Feb 2020 12:08:41 -0800 (PST) Date: Mon, 10 Feb 2020 20:08:39 +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: <20200210200839.GG14166@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OFj+1YLvsEfSXdCH" Content-Disposition: inline In-Reply-To: X-Cookie: No lifeguard on duty. 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 --OFj+1YLvsEfSXdCH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 10, 2020 at 03:00:55PM -0500, Adam Serbinski wrote: > On 2020-02-10 13:26, Mark Brown wrote: > > To repeat my comment on another patch in the series there should still > > be some representation of the DAI for this device in the kernel. > Respectfully, I'm not sure I understand what it is that you are suggesting. > Is it your intention to suggest that instead of adding controls to the > machine driver, I should instead write a codec driver to contain those > controls? I have already separately said that you should write a CODEC driver for this CODEC. I'm saying that this seems like the sort of thing that might fit in that CODEC driver. > Or is it your intention to suggest that something within the kernel is > already aware of the rate to be set, and it is that which should set the > rate rather than a control? That would be one example of how such a CODEC driver could be configured, and is how other baseband/BT devices have ended up going (see cx20442.c for example). --OFj+1YLvsEfSXdCH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5BuEcACgkQJNaLcl1U h9DMaQf9GjP0HkMcqo5yI64nvRK1tv1Ea9AL0H1Mlyqry7AQgS5d1PcRXiYU9MOj 9eMHwbPyh02erDpaLNZLuawcksp7JmDypG7Wj6ZAw6FUh3YnybFjq+pao5SBb/e4 4xvGxokT0mYhgXkBOL8l+Rarkz4HHmnsuag1YeGP82F8ZnCpDH0mzO4D005vA83D Xlv0KtbReo0N2zuM8ElShKIiIBaO4gnvsU6Mxf4PaOhPTYh3Q7ubtB4zJ/+JJh7/ O+q5EyXDZnXR+FK65tdzGg3UaaQwGyaAAEhdW8A5u48uxnidwWTKM0QE+eHolHL4 5vpjCOhUsJOeS+8qXyfakKzjpY2E1w== =02k4 -----END PGP SIGNATURE----- --OFj+1YLvsEfSXdCH--