From: Takashi Iwai Subject: Re: [PATCH] asihpi driver, adds tuner controls Date: Wed, 27 Jul 2005 11:56:06 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: 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: dbrignoli@audioscience.com Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 18 Jul 2005 22:48:13 -0700, Delio Brignoli wrote: > > Hello everybody, > > the following patch adds tuner ( gain, freq, band ) as alsa mixer > controls for asihpi based cards. RETURN_IF_NEG() is a bit ugly. In your code, it's not clear whether this is for a debug purpose or for checking a critical error. If it's just a check, you can use snd_assert(). Otherwise, a plain if() would be easier to read. Could you rewrite that stuff? > PS > it's the first time I'm submitting a patch to alsa, I couldn't find any > etiquette information on the website about how to submit patches > ( maybe I haven't looked hard enough ) :-P Your patch is OK. We prefer a unified diff as you already did. Thanks, Takashi ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click