media: staging: tegra-vde: Turn ON power domain on shutdown
authorDmitry Osipenko <digetx@gmail.com>
Wed, 24 Jun 2020 15:08:46 +0000 (17:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:42:13 +0000 (07:42 +0200)
commit8f0c714ad9be1ef774c98e8819a7a571451cb019
treef563bfe452b04e874752b85b1fba3ee49a7664d4
parentc19c7a13ee9d18bc6a43b417b8daa2edb825d601
media: staging: tegra-vde: Turn ON power domain on shutdown

On some devices bootloader isn't ready to a clamped VDE power, and thus,
machine hangs on a warm reboot (CPU reset). The VDE power partition is
turned ON by default on a cold boot, hence VDE driver should keep power
partition enabled on system's reboot too. This fixes hang on a warm reboot
on a Tegra20 Acer A500 device, which is handy if Embedded Controller
driver is unavailable, i.e. cold reboot can't be performed.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/tegra-vde/vde.c