From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753716Ab2DPOH0 (ORCPT ); Mon, 16 Apr 2012 10:07:26 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:52001 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753438Ab2DPOHZ (ORCPT ); Mon, 16 Apr 2012 10:07:25 -0400 Date: Mon, 16 Apr 2012 15:07:20 +0100 From: Mark Brown To: Ashish Chavan Cc: lrg , alsa-devel , David Dajun Chen , "kuninori.morimoto.gx" , linux-kernel Subject: Re: [alsa-devel] [PATCH] ASoC: da7210: Add support for PLL and SRM Message-ID: <20120416140719.GC3219@opensource.wolfsonmicro.com> References: <1334122120.3991.13.camel@matrix> <20120413093012.GK3168@opensource.wolfsonmicro.com> <1334578993.26734.6.camel@matrix> <20120416125930.GB3219@opensource.wolfsonmicro.com> <1334583750.26734.15.camel@matrix> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jousvV0MzM2p6OtC" Content-Disposition: inline In-Reply-To: <1334583750.26734.15.camel@matrix> X-Cookie: If you can read this, you're too close. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --jousvV0MzM2p6OtC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 16, 2012 at 07:12:30PM +0530, Ashish Chavan wrote: > Thanks for bearing with me Mark. But the only other way I can think is > to make the *extra* info like master/slave and fs a part of array itself > and then search through the array to get required divisors. In this > case, every time I need to search through entire array to pick up > correct divisors. Wouldn't that be inefficient, especially when the > array indexes are fixed? Or the readability/maintainability of that > would outweigh slight performance overhead? If there is a genuine performance concern there's plenty of other ways to do it which would make it run faster. --jousvV0MzM2p6OtC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJPjCM0AAoJEBus8iNuMP3d3fsQAI7pOEe3MQwi3PlBg4K6ghWs xYljmOAQ7vw/nQNG52TNzv9evD8ajNdzamppTr55fdFUS/dFP8ve6gSQ7vLjZSTe xplQujy4d1p+5oMbavcZDwp+R8XmeoTm0/rSEhSpWxd4N3Id4qEVOE+/uJH1YJIb v+FV7r+w42b0HvS1zW/bfWIumGhgp9p8HQgTYhwc3QFcqa/gIE0MKchVwGGMEf7/ a/7QFDEsrrP3f0YUJST7KHos5huFq5JRbrxtauk1+0G3bNCbq+z5NMqYsPCUgF0N Mu3YykzM6N7ublwONlO1ESTM/j81g6bVg6cxj0RgUMbEf4kjcORce2vSCRIkx15V G+7E92Gv4OTjMYrvej2SzS7AxHWl3tWlEDD1KiQjrr2mmIpgwJvdmAPN9el8Jjsu b4yFS1N2GoWgRtnqGokrt1lcFizKHiGAsCFScUl/FkHlBJTdFUQO9aHkUonWtT7K 1YQs7pDGEYE/maoDI8y8xLGu2/eCPRDcRRA5CAHHygb5CMaLpjpONPPpceF5YVTL e5+ttYPdPByHVfewn8Q4QnKcCMfqh8s5Q/ZK160isHxAfL6AQon+0VfTB3G3Dwyy EAuHHXjUkrF9NM2CWrjcYOhDi9KpnPXqa01XRPvpzA6ChIdDfmOiV78Nmc+DGEm5 iW/CA/khMl90/yxX0L/r =M34x -----END PGP SIGNATURE----- --jousvV0MzM2p6OtC--