From: Krzysztof Helt Subject: Re: [PATCH] sscape: driver extension to 2nd DMA and WSS port Date: Mon, 17 Sep 2007 14:23:59 +0200 Message-ID: <20070917142359.71007011.krzysztof.h1@gmail.com> References: <20070916105127.c6848e41.krzysztof.h1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by alsa0.perex.cz (Postfix) with ESMTP id 591B9103867 for ; Mon, 17 Sep 2007 14:16:41 +0200 (CEST) Received: by nf-out-0910.google.com with SMTP id b21so989724nfd for ; Mon, 17 Sep 2007 05:16:40 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: Alsa-devel , Chris Rankin List-Id: alsa-devel@alsa-project.org On Mon, 17 Sep 2007 13:01:42 +0200 Takashi Iwai wrote: > I reject your patch not because of coding style but it changes the > existing module option :-) > > Can you keep the option dma and just add dma2? Yes, of course. > > Also, you changed the initialization of port[]. Any reason? Is the > current code broken in that way? > No, the code is not broken. The changed way is exactly the same but shorter. >From the sound/initval.h: #define SNDRV_DEFAULT_PORT { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_PORT } I can leave old initialization if you prefer. Regards, Krzysztof