soc: sunxi: sram: Fix debugfs info for A64 SRAM C
authorSamuel Holland <samuel@sholland.org>
Mon, 15 Aug 2022 04:12:43 +0000 (23:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:16:50 +0000 (13:16 +0200)
commitf7143298ed17a3ae5d9e82b19c6ef13b63486b76
tree1047f8f8a1b90e37f7eb158dee0ac34141bdb12b
parente375857798393bba5fc7c171bc94c73403c6dbb4
soc: sunxi: sram: Fix debugfs info for A64 SRAM C

[ Upstream commit e3c95edb1bd8b9c2cb0caa6ae382fc8080f6a0ed ]

The labels were backward with respect to the register values. The SRAM
is mapped to the CPU when the register value is 1.

Fixes: 5e4fb6429761 ("drivers: soc: sunxi: add support for A64 and its SRAM C")
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220815041248.53268-7-samuel@sholland.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/sunxi/sunxi_sram.c