[alsa-devel] [PATCH 4/4] ASoC: Blackfin: update SPORT0 port selector of i2s driver

Mark Brown broonie at sirena.org.uk
Thu Oct 23 12:58:34 CEST 2008


On Thu, Oct 23, 2008 at 05:02:00PM +0800, Bryan Wu wrote:

> +#ifdef CONFIG_BF527_SPORT0_PORTF
> +#define LOCAL_SPORT0_TFS (P_SPORT0_TFS)
> +#endif
> +
> +#ifndef CONFIG_BF527_SPORT0_PORTF
> +#define LOCAL_SPORT0_TFS (0)
> +#endif

Perhaps I'm misreading this but shouldn't this just be:

#ifdef CONFIG_BF527_SPORT0_PORTF
#define LOCAL_SPORT0_TFS (P_SPORT0_TFS)
#else
#define LOCAL_SPORT0_TFS (0)
#endif


More information about the Alsa-devel mailing list