From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RFC] add bus driver model support for ad hoc AC97 drivers Date: Mon, 07 Mar 2005 14:25:03 +0100 Message-ID: References: <1109953565.28156.1712.camel@cearnarfon> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII In-Reply-To: <1109953565.28156.1712.camel@cearnarfon> 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: Liam Girdwood Cc: alsa-devel , nico@cam.org List-Id: alsa-devel@alsa-project.org At Fri, 04 Mar 2005 16:26:05 +0000, Liam Girdwood wrote: > > On Wed, 2005-01-26 at 16:26, Nicolas Pitre wrote: > > I would like to know what people think of the following patch. It > > allows for a codec on an AC97 bus to be shared with other drivers which > > are completely unrelated to audio. It registers a new bus type, and > > whenever a codec instance is created then a device for it is also > > registered with the driver model using that bus type. This allows, for > > example, to use the extra features of the UCB1400 like the touchscreen > > interface and the additional GPIOs and ADCs available on that chip for > > battery monitoring. I have a working UCB1400 touchscreen driver here > > that simply registers with the driver model happily working alongside > > with audio features using this. > > > > > Any chance this patch can make it into CVS ? > I have a couple of AC97 control based audio and touch drivers that now > use it for AC97 access. The patch looks fine to me (except for the compatibility issue with older kernels). One missing fix is for codec names including '/'. Takashi ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click