[PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

Mark Brown broonie at opensource.wolfsonmicro.com
Sat Sep 22 11:33:14 EDT 2012


On Fri, Aug 31, 2012 at 06:20:58PM +0530, Hebbar, Gururaja wrote:

> +config SND_DAVINCI_HAVE_SRAM
> +	bool
> +	default y if ARCH_DAVINCI=y
> +	default n if ARCH_OMAP=y
> +

I've been sitting on this mostly since it seems like a step back from
multi-platform kernels (which is where we're trying to get to) and I've
been trying to decide what the best approach is.  I'm thinking that we
do want a generic API for allocating this stuff, it's a fairly generic
feature (there's TCMs as well).  

Adding ifdefs like this does just doesn't seem good.



More information about the linux-arm-kernel mailing list