[alsa-devel] [PATCH 5/6] ASoC: fsl: use platform_device_id table to match p1022_ds device

Timur Tabi timur at freescale.com
Mon Feb 27 22:39:17 CET 2012


Shawn Guo wrote:

> -
> -	/*
> -	 * Check if we're actually running on a P1022DS.  Older device trees
> -	 * have a model of "fsl,P1022" and newer ones use "fsl,P1022DS", so we
> -	 * need to support both.  The SSI driver uses that property to link to
> -	 * the machine driver, so have to match it.
> -	 */

Please retain this paragraph somewhere.  It's important to explain why
we're checking for both strings.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Alsa-devel mailing list