From: Takashi Iwai Subject: Re: ESI Maya44 initial patch Date: Wed, 06 Feb 2008 17:42:16 +0100 Message-ID: References: <47A8A2AC.4000901@lightshed.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5AFE924507 for ; Wed, 6 Feb 2008 17:42:17 +0100 (CET) In-Reply-To: <47A8A2AC.4000901@lightshed.de> 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: Rainer Zimmermann Cc: ALSA Development Mailing List , Piotr Makowski List-Id: alsa-devel@alsa-project.org At Tue, 05 Feb 2008 18:53:48 +0100, Rainer Zimmermann wrote: > > > Hello, > > this is the first testing version of the driver for the ESI Maya44 card, which I > developed on the initiative of Piotr Makowski. > > The driver is actually an addition to the existing ice1724 code. > > More information can be found in doc/README.maya44 . > > We would appreciate your testing and feedback. > > Also, since I am new to ALSA driver development, I would appreciate feedback on > whether the way I integrated this into the ALSA tree is correct. The place you added is fine. Unless you want it to merge to the upstream right now, we can keep locally in the alsa-driver tree. The file ice1724.c should be rather "patched" instead of copying the whole. See other directories how to add it. Basically, you create *.patch and add rules for the corresponding files in Makefile. ice1712.h is a bit nasty. If you don't need to modify that file, you can have a skeleton that simply includes the file in alsa-kernel tree. That is, one liner including the following: #include "../../alsa-kernel/pci/ice1712/ice1712.h" Last but not least, try to keep your patch clean and compliant to the kernel coding style. You can run $LINUX_KERNEL/scripts/checkpatch.pl to check what can be wrong as a guide line. Please repost after these fixes so that I'll merge it to the HG tree. Thanks, Takashi