[alsa-devel] [linux-next] ASoC: sound/soc/samsung/neo1973_wm8753.c build failure

Russell King rmk+alsa at arm.linux.org.uk
Thu Sep 15 13:00:56 CEST 2011

On Thu, Sep 15, 2011 at 10:46:41AM +0100, Mark Brown wrote:
> On Thu, Sep 15, 2011 at 12:38:39AM +0100, Russell King wrote:
> > On Thu, Sep 15, 2011 at 12:28:09AM +0100, Mark Brown wrote:
> > > On Wed, Sep 14, 2011 at 08:19:17PM +0100, Russell King wrote:
> > > ...this is true a substantial proportion of the GTA01 devices out there
> > > are in the hands of people who might hack on it.
> > Point at a mainline kernel which includes support for the neo1973_gta01
> > platform.
> I don't recall saying that there has been one; however I have seen
> reasonable (if sporadic) efforts at getting the two boards mainlined -
> it took years to get GTA02 in there but it did happen.

Look - we have a fundamental problem with the mach-types file, and
that is it's growing completely out of hand.  The full file is 150k
representing some 3600 platforms.  When it's postprocessed, it
produces a 1.3MB header file.

Of that, only 21k or around 500 platforms have been merged into the
kernel, producing a 180k header file.

The amount of effort required to maintain that file is getting
rediculous - manually removing entries for SoCs rather than platforms,
manually removing entries which have been partially edited which could
conflict with other entries etc.  Something _has_ to change - and it
has - and did about six months ago.

We now have a sane policy: entries which aren't fully up to date are
automatically dropped.  Entries for which there is no platform support
file merged within 12 months of the entries last edit are dropped also
automatically dropped.

This policy results in a 50k file, representing around 1100 platforms
exploding to about 400k of header file.  I think that is a reasonable
compromise, and I think the policy is entirely reasonable.

Lastly, GTA01 board support was added to the ALSA stuff in 2008 without
the main platform support in arch/arm - so it can't be usefully used.
It's been three years since that was done and still there is no sign of
the main platform support appearing.  It's been five years since the
entry was created in the machine database.

Face it, GTA01 is dead as far as mainline is concerned.

If it's not dead then it needs sorting out.  Either way there's two
valid states:  1. fully merged, or 2. none of it is merged.
There's no real half-way house state - certainly not one which should
persist for three years.  (It would be reasonable for maybe a couple
of kernel releases but more than that is becoming very much a joke.)

Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

More information about the Alsa-devel mailing list