commit | f1f20eb9705566f861330f8da7e2f2a84dae46af | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Feb 20 10:03:46 2019 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Thu Oct 24 18:41:53 2019 +0200 |
tree | 0fc9d02290a91305f1a502c7bb5b2fbb7e4e5fac | |
parent | 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292 [diff] |
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>