mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
drm/tegra: sor: Move register programming out of ->init()
The hardware is not guaranteed to be enabled during execution of the tegra_sor_init() function, which can lead to a crash on some Tegra SoCs. Fix this by moving all register programming into code that is guaranteed to only be executed when the hardware is enabled. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
9a42c7c647
commit
f1f20eb970
1 changed files with 11 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue