[RFC PATCH v2] Consolidate SRAM support
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Apr 18 12:18:17 EDT 2011
On Mon, Apr 18, 2011 at 09:42:10PM +0530, Nori, Sekhar wrote:
> I was able to test this on DaVinci (DA850 suspend-to-RAM) with
> the following additional changes:
>
> There was a sram_free call remaining in pm.c file.
Hmm, wonder why my build for DaVinci didn't pick that up. Thanks for
that and I'll merge it in.
> diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S
> index fb5e72b..dcb8e9d 100644
> --- a/arch/arm/mach-davinci/sleep.S
> +++ b/arch/arm/mach-davinci/sleep.S
> @@ -50,6 +50,8 @@
> * r4: contains virtual address of the DEEPSLEEP register
> */
> ENTRY(davinci_cpu_suspend)
> + .align 3
> +
I think you want the .align 3 on the line before ENTRY().
> The davinci audio driver in sound/soc/davinci/davinci-pcm.c uses
> the sram allocator too and would need to be converted to the
> new API.
Ah, right - I'll sort that too. Slightly annoying that sound stuff
is outside the drivers/ subdir.
More information about the linux-arm-kernel
mailing list