From: Takashi Iwai Subject: Re: [RFC] Break up the patch_sigmatel.c Date: Thu, 13 Aug 2009 07:28:56 +0200 Message-ID: References: <1250109345.7974.10.camel@localhost.localdomain> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 86EDF1037E3 for ; Thu, 13 Aug 2009 07:28:56 +0200 (CEST) In-Reply-To: <1250109345.7974.10.camel@localhost.localdomain> 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: Maxim Levitsky Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Wed, 12 Aug 2009 23:35:45 +0300, Maxim Levitsky wrote: > > Hi folks, > > I own an stac9227 and with latest kernel, it doesn't output any sound > via front headphones. (this a is desktop) OK, that could be my recent changes. Could you give alsa-info.sh output, at best, on the working and non-working states? > I don't want to bother you with details, etc, I will fix that myself. I > have good knowledge of the device. > > However, the mess that is patch_sigmatel.c seems to be doubled. > its huge file, and there are loads on new codecs added. > > I have a suggestion, to break it up into smaller files. > I especially want to move all 'data' from it to header file, and sort it > by model. The "data" shouldn't be in header files in general... > Maybe move pin configs to separate file. This could be good. > Also I know that stac9200 is quite old, and uses many different support > functions. I could move these in another file as well. > > In other words, I want to break it up into several (5 maybe) files, > while not touching the code itself (I so that later maybe) > > Since it is quite dirty and hard work, I want to ask if you agree. It's open source, feel free to do it. > Btw, half of static data can be retrieved from codec by querying it > (like dac,adc,pin node ids) Yes. thanks, Takashi