diff options
author | Samuel Holland <[email protected]> | 2022-08-14 23:12:40 -0500 |
---|---|---|
committer | Jernej Skrabec <[email protected]> | 2022-09-08 22:25:38 +0200 |
commit | fd362baad2e659ef0fb5652f023a606b248f1781 (patch) | |
tree | 92b1cf39c16314d67e7769ed3d6ae2a35c9b9898 /net/lapb/lapb_timer.c | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
soc: sunxi: sram: Actually claim SRAM regions
sunxi_sram_claim() checks the sram_desc->claimed flag before updating
the register, with the intent that only one device can claim a region.
However, this was ineffective because the flag was never set.
Fixes: 4af34b572a85 ("drivers: soc: sunxi: Introduce SoC driver to map SRAMs")
Reviewed-by: Jernej Skrabec <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Signed-off-by: Jernej Skrabec <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions