[alsa-devel] [RFC PATCH 3/5] pxa: clean up the legacy SSP API

Daniel Ribeiro drwyrm at gmail.com
Wed Apr 29 01:06:08 CEST 2009


Em Ter, 2009-04-28 às 23:20 +0100, Russell King - ARM Linux escreveu:
> On Thu, Apr 23, 2009 at 01:06:12PM +0800, Eric Miao wrote:
> > Actually, due to the number of possible SSP configurations, it's quite a
> > difficult job to maintain an API that can be well re-used. The guideline
> > here is to keep only a list of SSP devices and their basic information,
> > and it's up to the user driver (like SPI or Audio SSP) to configure the
> > SSP in a desired way.
> 
> Hmm, the LX battery driver uses this API for its rudimentary battery
> communication channel with the PCON.
> 
> What are you suggesting as the replacement API?  Direct register access?

The SPI subsystem?

-- 
Daniel Ribeiro



More information about the Alsa-devel mailing list