Re: [PATCH v2] ARM: at91: pm: fix SRAM allocation

2015-03-03 Thread Nicolas Ferre
Le 03/03/2015 08:38, Alexandre Belloni a écrit : > On some platforms, there are multiple SRAM nodes defined in the device tree > but > some of them are disabled, leading to allocation failure. Try to find the > first > enabled SRAM node and allocate from it. > > Signed-off-by: Alexandre Belloni

[PATCH v2] ARM: at91: pm: fix SRAM allocation

2015-03-02 Thread Alexandre Belloni
On some platforms, there are multiple SRAM nodes defined in the device tree but some of them are disabled, leading to allocation failure. Try to find the first enabled SRAM node and allocate from it. Signed-off-by: Alexandre Belloni Tested-by: Wenyou Yang --- Changes in v2: - initialize pdev to