]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
memory: tegra20-emc: Correct memory device mask
authorDmitry Osipenko <digetx@gmail.com>
Wed, 22 Dec 2021 04:32:15 +0000 (07:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:43 +0000 (13:57 +0200)
commit3bba11801647202c40a1e9a4edf819970da1d4c4
treecf4cecf8f681239d12a57a028f6276dd793b8735
parentaba0a907c004f93a57e70181576b30458a9191b8
memory: tegra20-emc: Correct memory device mask

[ Upstream commit 9ff684342ee7d3ea2755c6e9b60bc43085baa3ad ]

Memory chip select is swapped when we read mode register, correct it.
We didn't have devices that use a single LPDDR chip and both chips are
always identical, hence this change is just a minor improvement.

Fixes: 131dd9a436d8 ("memory: tegra20-emc: Support matching timings by LPDDR2 configuration")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20211222043215.28237-2-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/memory/tegra/tegra20-emc.c