Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp384844pxb; Thu, 25 Feb 2021 05:18:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkNlqKXkFWvUubSyJxOlyRMcvWuEndmXRcVHX/mzwpnfT4wmPlXb6HY5aoMNe3sNxjc2UG X-Received: by 2002:aa7:c7c3:: with SMTP id o3mr2930417eds.8.1614259111100; Thu, 25 Feb 2021 05:18:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614259111; cv=none; d=google.com; s=arc-20160816; b=UEdxIwkPpvaURDf3KY/hQDgcc0sE/2na0Ek1pSrmCl7AtpnsFpsP9RsMJ8Pf/0s03u wFyH5wS1swsH4DoHw/hdvuuV/gl+eVk2lYq2gHJSB0Yp4LQemubXaQAGa1eMM7udRLYX c7+WBHBKs6hLef9SKYANYT0ccjZe+V9RZk/DwaAGjHblwGY6jyFZMSdnQy24+dK6fswR DtmNhyFq1q3nQcCLrxnLV7wBfj0WE2tAhNKtpBsqT9qqQMz0YXPSOI1TtDGIrdzlmT9i XWxlDQO10eROOdjDE32tTqW3T95ArXOySqExBxGs6Ld8+v7+EK2PVGBAJcatXDe2FjMz 8R7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EDn9qn6kw+tsv5m2CwcIku0Qqsr+/TSimJrhRsnQDA4=; b=lardtcGOhnpdZQKfl1I9/BkZc8s8czZPag13kVUxIZeFu5Q+Di572HfLsu98MrKO/Y 1QJyzrpaDeX7A02R3sNKh+ctCQJXz8PPSsG4rfPL+r9wlMCS/3gy5HV/5v+5kyKlSm8S GbgsdcQ4IOyTDLkXDBXX8bOG7AEUukjveHFbsph5CL8eVbmdv3sCznECL8Ga9mJFJxxt bT8iL0CS5zwOOcA5YTS00VO9FnpFSqruE2VaZ7zqf8IjYZvIE8o8Qi6tDJOp8bJn8gz3 nvpf1gRQr7OYxUvWnYT7u+IVDDdpvcmgqxkownxOok8JQtLDfnuYeJRuSu/PDVW1ZwXy H7AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ulimUF6b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si819811edr.331.2021.02.25.05.18.07; Thu, 25 Feb 2021 05:18:31 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ulimUF6b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229644AbhBYNRS (ORCPT + 99 others); Thu, 25 Feb 2021 08:17:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:59166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbhBYNRR (ORCPT ); Thu, 25 Feb 2021 08:17:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C13E564EC4; Thu, 25 Feb 2021 13:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614258997; bh=y4q7DSUGlBQUICw0FwSwYXtR63BB8Vic54PlMbyGgxk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ulimUF6brK0QCnMrCWNDuFuqQZVnD54Ifk6Rc4FzYX3HfTBgIxS5OG4sgFEFm29x6 dZUTU3/tRBWwbUJYD3MyBQ7N8iOsTlcln+m41OU6f2N6uLJk3Tk0MFlaFzRzUZZtWy qtNIBO+TkCKVp5gdhewL4/42fARp9Jp4wL1nMjVm+Q1q65//nh/C2mRkd73ZIykNV2 VBNjGqrbq4LBHzYbbyESzqyFOLaT8+aN0sz+NPCpZSp1c5+VyuVmt3n9X487FUf+Ab kd86ffax9/jQDOhKSu66ZPxCr8k7npPDcS4ZZdNDySYrTNvYGhtYcHt2QjeKu4IYMC uolvmY4VgsVFA== Date: Thu, 25 Feb 2021 13:15:33 +0000 From: Mark Brown To: Shengjiu Wang Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, stephan@gerhold.net, guennadi.liakhovetski@linux.intel.com, kai.vehmanen@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: simple-card: Add dummy dai support simple sound card Message-ID: <20210225131533.GA5332@sirena.org.uk> References: <1614254912-15746-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <1614254912-15746-1-git-send-email-shengjiu.wang@nxp.com> X-Cookie: A fool and his money are soon popular. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 25, 2021 at 08:08:32PM +0800, Shengjiu Wang wrote: > If sound card doesn't need specific codec device, just > dummy codec is enough, then we can link the dummy component > directly. This is a big red flag - what circumstances are these? If it's a simple CODEC with no control then the general approach is to provide a driver which announces the capabilities of the CODEC and can be bound to as normal, the dummy component should never actively be used. --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmA3ovUACgkQJNaLcl1U h9B75Af/RM+n9PtBClq9XnVctQ5C+2rTjwsTw5SWRQpJKoGqV+BZ19XdE5atakxV poNqc+zVttDIfzRisPmKrc+2d+YwqqlDoyeONNTcvvW2P8dxIRbchVAl9mOFlw8S JYTsZKt7XeHC3oPJja6Zv0wOg8IazlKy8gVKIJwSc5SsRdZOmofZolKlLvuPwHss q4iFWA5veqiV5cECEUAVbdGasY4kr0us/pXu/akJK/dL8MH15P6OyejrZgRCwYzf 8Y8B33i/n/H3iT3J4AFbnDumStuAHcYUVjWI2BzP44YCXFj3+657ODLb/FuFL7Fi 3bi/Uo7UlU7lRPxqteaOYji9ECZ9TA== =gnCO -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--