[alsa-devel] [RFC PATCH] ASoC: Intel: use common helpers to detect CPUs

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Jun 19 15:04:13 CEST 2019


On Wed, Jun 19, 2019 at 01:52:57PM +0200, Pierre-Louis Bossart wrote:
> 
> > > > Add common helpers to provide same functionality in a cleaner
> > > > way. This will also help support the DMI-based quirks being introduced
> > > > to handle SOF/SST autodetection.
> > 
> > > > +#define ICPU(model)	{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
> > 
> > We have macros for this in intel-family.h.
> 
> Andy, just to double-check, were you referring to the following macro?
> #define INTEL_CPU_FAM6(_model, _driver_data)

Yes, and my patch to move pointer elsewhere.
Now I realize that the macro without data pointer wasn't accepted by some reason.

-- 
With Best Regards,
Andy Shevchenko




More information about the Alsa-devel mailing list