diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-03-03 10:38:07 +0300 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-03-03 22:07:13 +0300 |
commit | 4a031f7dbe497a66cd18b33fc6e5ce2e889d89c7 (patch) | |
tree | b8ccfa8b22924c250f4ee4725813c498582fb174 /drivers/hwspinlock | |
parent | 84e871660bebfddb9a62ebd6f19d02536e782f0a (diff) | |
download | linux-4a031f7dbe497a66cd18b33fc6e5ce2e889d89c7.tar.xz |
ARM: at91: pm: fix SRAM allocation
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 <alexandre.belloni@free-electrons.com>
Tested-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions