Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5785663imu; Tue, 13 Nov 2018 11:42:34 -0800 (PST) X-Google-Smtp-Source: AJdET5eKVzjMHOCv8GzXGCTSzDpUS48MJbV8Lh1XimTAK9FSj9O6QmI4fs1W7KYI2v6DpyO62Zlj X-Received: by 2002:a63:588:: with SMTP id 130mr5850790pgf.273.1542138154318; Tue, 13 Nov 2018 11:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542138154; cv=none; d=google.com; s=arc-20160816; b=UceXwtLIdiy/yPjLANMJ3nlH0rGD/z6Yh7QX8K0xcwf+bt/9A+28ekHMTLlG+hZH5p /yXPTk4wBzoJMCurl5uKRJ83K3Kx0WU0doSfUQtl9yjFMb46SpSC3YReh1uR5yh3RUYH xnkTVEuPNx5HRFGvlKCX/N1qcaIDUiOXSIb+oKDoMJdfRO4vbKI6qhB6ddIgF7+TOsQm LlkIeMqfYO0wfuAWRi4pmw7oyGnLcJE1yQSp229Df2EYYm5Mxja1w6PKiTcn1uNTZQau XCfZaKYG5eAbAaZ/L7KoRNT5wgRkX6Vp67Rjy6qBYvbhTEu8zhYgSFN2PL4ZuXh78MMS rl0w== 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:dkim-signature; bh=WeR6j32w1x0x8U5w4643vwH8IqBXzhw+rltaKKBYBPE=; b=ttVeY2M1BeTJznMYiDrUwkMqb7Kee/7t2WBS4fohnIrqvevENqbBU2YsrDdMzRhldz JfZyk6LK7tnTvq7sKyOrLrH4Pk/vqGlfQY2NvuwfQkhof8Ot6oYxOsVIYP18tgyhs9sN mGfvp5jftaEfRhppFdOUk32bZugpKKp4E1scg0bREwI4FLVsrJdPS3UkkmtXsFzbgMwP Qemeawrxjy9Cz2wFdox3VDyZXwX/oOmBiEg5bGPcZlTRUzq4O95XuYM6QFsdtJAQ/qwZ +qPYuSyy3mIsqSn4fssYiRyGUEipHMYY4e5E8eQ+jcoAWFr/HyN+bX8vZltYHnk9Zl9i 1+Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=EcjWOQvW; 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 a26si17221585pgl.282.2018.11.13.11.42.16; Tue, 13 Nov 2018 11:42:34 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=EcjWOQvW; 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 S1728208AbeKNFlK (ORCPT + 99 others); Wed, 14 Nov 2018 00:41:10 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43640 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725748AbeKNFlK (ORCPT ); Wed, 14 Nov 2018 00:41:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WeR6j32w1x0x8U5w4643vwH8IqBXzhw+rltaKKBYBPE=; b=EcjWOQvW35391pYpZ0qIkjNXh r7P64VKz7eVTFgVCmWWFRV1ohF/JpKEVXtIGo/FxmAjjWt0bdLxsnRPCSQKO61xGUpiBXEPSM5Q8u BxZlrAlmO8bkxJQtocBV4/GHDzUweRwiFEV4zei1cCNCrjQydSvEDqY2O03syGYs3L5bI=; Received: from [64.114.255.97] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gMeYy-0002Uh-Fg; Tue, 13 Nov 2018 19:41:28 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 5F136440078; Tue, 13 Nov 2018 19:41:22 +0000 (GMT) Date: Tue, 13 Nov 2018 11:41:22 -0800 From: Mark Brown To: Vijendar Mukunda Cc: Alexander.Deucher@amd.com, Vishnuvardhanrao.Ravulapati@amd.com, Maruthi Bayyavarapu , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Sanju R Mehta , open list , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." Subject: Re: [PATCH 04/11] ASoC: amd: add ACP3x PCM platform driver Message-ID: <20181113194122.GL2089@sirena.org.uk> References: <1542000903-19020-1-git-send-email-Vijendar.Mukunda@amd.com> <1542000903-19020-5-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gmhhrsDozM2n+uz5" Content-Disposition: inline In-Reply-To: <1542000903-19020-5-git-send-email-Vijendar.Mukunda@amd.com> X-Cookie: No Canadian coins. 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 --gmhhrsDozM2n+uz5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 12, 2018 at 11:04:55AM +0530, Vijendar Mukunda wrote: > +static struct snd_pcm_ops acp3x_dma_ops = { > + .open = NULL, > + .close = NULL, > + .ioctl = NULL, > + .hw_params = NULL, > + .hw_free = NULL, > + .pointer = NULL, > + .mmap = NULL, > +}; > + > +struct snd_soc_dai_ops acp3x_dai_i2s_ops = { > + .hw_params = NULL, > + .trigger = NULL, > + .set_fmt = NULL, > +}; Having these empty ops sets is really surprising - I see they do get added later on, but there's no sign that this will happen here and assigning NULL explicitly is generally bad. It'd be better to just leave these empty here so they don't look like a bug when doing review. --gmhhrsDozM2n+uz5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvrKN4ACgkQJNaLcl1U h9Dhnwf/TTWRh5Jg+uDQ7fBuAKdvKhqWhYGLO3MFidokeN7ewqDQC65WTGHr08yd rhHtg5hHdU2ffxbyZECzXFM0GKNmSWGHjmRTPIUIu8qAGWivUuTd0D3372JMIZeq jD5Qs6scAC1ei8o4ijrgN9CzMuPaGroL2LKk1Gk1gm9Z+GidiwWEhnVBhcCgXpSk z6h4dmCgWjXUdZAxg+U0eS8dehWVASbEUggyzMJk77kr9HCYM0oYUWSILZ1Ab8cY hFTsFWuEKMSSGGRvnMn2BwcyBiY2fyi+ilmTJSHkOKPu9QM3DOzWTEiMKa+AjMpz W7C3KvHyiTo9RZgbrBPG60rAuGGDxQ== =pVFt -----END PGP SIGNATURE----- --gmhhrsDozM2n+uz5--