[alsa-devel] [PATCH 3/6] ASoC: Add quirk data to support multiple codecs

Vinod Koul vinod.koul at intel.com
Tue May 9 12:26:23 CEST 2017


On Tue, May 09, 2017 at 08:17:39AM +0200, Takashi Iwai wrote:
> On Mon, 08 May 2017 11:18:57 +0200,
> Naveen M wrote:
> > 
> > Add quirk data in sst_acpi_mach() which will hold number of codecs
> > and codec names to search for a best possible matching machine.
> > Set NULL for existing drivers not using this.
> 
> It's better to rewrite the existing code with C99 style
> initialization before introducing such a new field.  For the atom
> driver, it's more better with some macros to simplify.
> Then you don't have to touch the code as long as the default value is
> zero.

Agreed and it is more readable as well, we will change this :)

-- 
~Vinod


More information about the Alsa-devel mailing list