]> git.baikalelectronics.ru Git - kernel.git/commit
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, 5 Oct 2022 08:37:44 +0000 (10:37 +0200)
commit4ac5dacb48f04739175e1dab3af12efe801b5281
tree575d0e62213420b49d80814c56ef92ddf897cffb
parent230987460ef807be922b7412168f2e88aab11912
soc: sunxi: sram: Fix debugfs info for A64 SRAM C

[ Upstream commit 78b1a731ba3c00d039685e1ec81084e428ca077d ]

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

Fixes: f0e167841d0f ("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