[alsa-devel] [RFC PATCH] ASoC: Intel: use common helpers to detect CPUs
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Mon Jun 17 17:31:53 CEST 2019
On 6/17/19 4:47 PM, Mark Brown wrote:
> On Tue, May 28, 2019 at 03:02:55PM -0500, Pierre-Louis Bossart wrote:
>
>> 2. is there a better way to do this for all Intel chips or do we keep
>> this in sound/? Andy?
>
> ARM has platform detection stuff in the architecture code, something
> similar seems sensible for x86?
Well yes, we already have x86_match_cpu() but that won't work with
COMPILE_TEST (asm/ headers don't exist) and this leads to duplication of
code. All we really need here is a yeah/nay answer from a help that
hides those details away.
More information about the Alsa-devel
mailing list