Received: by 10.192.165.156 with SMTP id m28csp1111893imm; Wed, 18 Apr 2018 04:26:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx48EQwoygQrZHvfOo1HifxI9NHlMoOrSeMXE5Yl5XSyolXd/fFV0/5t7iPitwHtXxUvPSGjN X-Received: by 10.99.115.28 with SMTP id o28mr987981pgc.238.1524050803954; Wed, 18 Apr 2018 04:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524050803; cv=none; d=google.com; s=arc-20160816; b=XXY6FTTV26fFXCoYlZjP+M9QcLZ9Ewv4C7JjIkLOsWcVq6ReKI1aczUnM26GtUBJJg v9bmp3PAfXdHkqkDH9UkS5dAzc54PkaiiW52pCpxnAV2RjaLHfWAiJocjn/y0uay6VrL 5L+Z6zdvMvHE0eHnJs8tjsNn3z1+wrkd4fvKYVeCuAUG8XfrNxCHvb07jAAvykpjopwf hFHnYbJVGR0kee6m4wycdWK2TnmtYgHreA6br0DUOcLCibFvdPpD0fAeAaz0K76STbj4 +T/eXN+LYGRvnnA75PblKOeoq5YOoKORGkre5jCUJaJHoQqra6mWBvfYR0xKuDM3KMoY oIRw== 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:arc-authentication-results; bh=nC6de8McGlt+SmbBMCPY5VWIcFO908NFodIgGEU+/VM=; b=sciPSpkuf2j4VTN3NMUKSNfaVi3u9/yaoOF9iYOq8f0960yT+zAwTo80+Bb8LoJwZL q2dmURoO7/7yP5u95weezMMhf/+qRVZOQvuYmIFd/9zaNM5a2WNiWimyLdvxsPQx75tq gA2O+H3K1aRuo7qVqJjtn6qNxmzizSj2ci0HUjQIqAp2BvnbGSVnUryldZ5fRMsvgRZ5 y2vpzPwVVlYJTXJ1Dh5RVQbA0tmZaAAIET37raTI6fxAiT8cv1U8OEWtWWB5cmAw97TP U5PiKEHkcrJJiLV/1/mbe/4iJRRgm6+qLzMA33PmPi+ppSlZxWYLX8hfPd70gy0MR+cW ulvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=nRY1rmaG; 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 a5si943717pgd.628.2018.04.18.04.26.29; Wed, 18 Apr 2018 04:26:43 -0700 (PDT) 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=nRY1rmaG; 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 S1753114AbeDRLZ0 (ORCPT + 99 others); Wed, 18 Apr 2018 07:25:26 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:39824 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbeDRLZZ (ORCPT ); Wed, 18 Apr 2018 07:25:25 -0400 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=nC6de8McGlt+SmbBMCPY5VWIcFO908NFodIgGEU+/VM=; b=nRY1rmaGZr/os/P7LwfP/QvEt TMYRc2Q3aLDKhu0ODJ3ra/k3mpEyIDckYYNvnBo7kc3a13uO3iQV+S0lsUCgIzMs4lZKNmbyoFel6 81tZ+GDOX3l8G8F3+igqU7E7liPKnT2R8Qt2jLROo2i53kpNMXsAqbAcUuNu13JaL18/Q=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f8lCd-0000Sq-HQ; Wed, 18 Apr 2018 11:24:43 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f8lCc-0001G1-QW; Wed, 18 Apr 2018 12:24:42 +0100 Date: Wed, 18 Apr 2018 12:24:42 +0100 From: Mark Brown To: Vijendar Mukunda Cc: Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Alex Deucher , Akshu Agrawal , Jose Abreu , Markus Elfring , "Gustavo A. R. Silva" , "moderated list:SOUND" , open list Subject: Re: [PATCH v2 1/3] ASoC: dwc: I2S Controller instance param added Message-ID: <20180418112442.GB10061@sirena.org.uk> References: <1524049494-19526-1-git-send-email-Vijendar.Mukunda@amd.com> <1524049494-19526-2-git-send-email-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <1524049494-19526-2-git-send-email-Vijendar.Mukunda@amd.com> X-Cookie: Sank heaven for leetle curls. User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Apr 18, 2018 at 04:34:52PM +0530, Vijendar Mukunda wrote: > When multiple I2S controller instances created, > i2s_instance parameter refers to i2s controller instance value. You're missing the point here a bit - it's not just the defines for the magic numbers that are the problem, it's the whole idea of passing instance numbers around like this that's the big problem. Whatever you are trying to do here is most likely better accomplished at the machine driver level. If I'm missing something here and this is a useful concept to have in the driver it really needs to be articulated much more clearly than in your very brief changelog, and most likely done at the subsystem level (though the fact that we've managed to get this far without needing it is a bit of a red flag). --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrXKvoACgkQJNaLcl1U h9A0TQgAgCxN6Hh4RzagIfL5GE3Aq/Ea1B+j/UiKbKEz9jfK8rcpFzB2YBM+ibsV UCFEAWpA+b+cAXT4itIdy8OfLq0lqvqLLVPUzke8q5yzCCbjdBDRZNeLXmFEiPvv UIqP6YAMUjrsTtdQ0MkH+30XcB+k+CoWusfRI5NMI505sUrTydJUVF3g3mBy9NMa L2dvwddgX3nGsIRMl0DiBTGcW3qOp296ArLpUQILB3irMXqAB0P6+irr9fFhcRCe bkaG2gBEqFY+fJkV31ONqUlq3BegNps2xyJ1rwkUoKSwHscATrswgbPNwQgJPGbv DkuDztSNOh6C2BF+UJ7cy47hAwg26g== =UssD -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--