mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
drm/tegra: sor: Use correct SOR index on Tegra210
[ Upstream commit 24e64f86da
]
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>
This commit is contained in:
parent
3d097861f6
commit
16015bd930
1 changed files with 5 additions and 0 deletions
|
@ -2922,6 +2922,11 @@ static int tegra_sor_parse_dt(struct tegra_sor *sor)
|
|||
* earlier
|
||||
*/
|
||||
sor->pad = TEGRA_IO_PAD_HDMI_DP0 + sor->index;
|
||||
} else {
|
||||
if (sor->soc->supports_edp)
|
||||
sor->index = 0;
|
||||
else
|
||||
sor->index = 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue