[alsa-devel] [PATCH 07/14] regmap: Add SoundWire bus support

Alan Cox alan at linux.intel.com
Mon Oct 23 13:56:27 CEST 2017


On Sat, 2017-10-21 at 10:34 +0100, Mark Brown wrote:
> On Thu, Oct 19, 2017 at 08:33:23AM +0530, Vinod Koul wrote:
> 
> > + *  BSD LICENSE
> > + *
> > + *  Copyright(c) 2015-17 Intel Corporation.
> > + *
> > + *  Redistribution and use in source and binary forms, with or
> > without
> > + *  modification, are permitted provided that the following
> > conditions
> > + *  are met:
> 
> Really unhappy with the dual licensing for regmap code, this is
> interface code for some GPL only kernel code and...

if anyone uses it with GPL code then it ends up GPL so in the Linux
kernel context it's always going to be GPL.

> > +EXPORT_SYMBOL(__regmap_init_sdw);
> 
> ...this is just an obvious attempt to allow non-GPL code to directly
> use
> GPL code.


There's nothing in the GPL about EXPORT_SYMBOL. If its built GPL
dependent then it depends upon GPL code so is GPL.

Alan



More information about the Alsa-devel mailing list