OSDN Git Service

drm/tegra: sor: Use correct SOR index on Tegra210
authorThierry Reding <treding@nvidia.com>
Wed, 24 Jul 2019 15:06:17 +0000 (17:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:35:27 +0000 (16:35 +0100)
commit16015bd930d6f27313a151a6bff42549ff91c699
tree019dda4a8133cca78f7fb1f9f2cf2915a626ca0a
parent3d097861f6c48cfcc7153048fd358ac8759f11df
drm/tegra: sor: Use correct SOR index on Tegra210

[ Upstream commit 24e64f86da40e68c5f58af08796110f147b12193 ]

The device tree bindings for the Tegra210 SOR don't require the
controller instance to be defined, since the instance can be derived
from the compatible string. The index is never used on Tegra210, so we
got away with it not getting set. However, subsequent patches will
change that, so make sure the proper index is used.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/sor.c