From: Takashi Iwai Subject: Re: RE : [RFC][PATCH] snd-usb-audio and audiophile usb analog capture Date: Mon, 13 Mar 2006 13:16:22 +0100 Message-ID: References: <07dc01c64689$bf5e25c0$a578e4a0@supelec.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <07dc01c64689$bf5e25c0$a578e4a0@supelec.fr> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Thibault LE MEUR Cc: alsa-devel@lists.sourceforge.net, smithbone@gmail.com, sander@3v8.net, 'ronny' List-Id: alsa-devel@alsa-project.org At Mon, 13 Mar 2006 11:34:40 +0100, Thibault LE MEUR wrote: > > Hi, > > Here is the new patch for the Audiophile usb device. > > You'll find in this mail: > * the modifications applied to the patch > * a test report from another audiophile usb user > > > List of modifications since last patch: > > > Could you include it in the patch as a document put in > > > Documentation directory? Also don't forget to update > > > ALSA-Configuration.txt when an option is added/modified. > > * ALSA-Configuration.txt modified > * Audiophile-USB.txt new documentation file Could you remove non-ASCII characters as much as possible? > > > > +static int device_setup = 0x00; /* device specific setup > > > You don't need zero-initialization here. A static variable > > > is guaranteed to be zero-initialized. > > * zero-initialization removed. > > > > Also, try not to exeed 80 columns in general :) > > * I tried to limit the columns on comments > > > > > +int audiophile_skip_setting_quirk(int iface, int altno); > > > > > > Please make it a static function. > > * Done. static is missing still in the definition part. +int audiophile_skip_setting_quirk(int iface, int altno) { Also, put the brace to the next line. > > > Put continue to the next line. > > > Put return to the next line (in other places, too). > > * Done. One more thing: The device_setup should be an array because usb-audio driver can have multiple instances. Use device_setup[chip->index] instead. Also, submit with a proper changelog of the patch and a signed-off-by line for merging. Please fix them up, and I'll merge the new patch soon. Thanks, Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642