media: staging: tegra-vde: Power-cycle hardware on probe
authorDmitry Osipenko <digetx@gmail.com>
Wed, 24 Jun 2020 15:08:47 +0000 (17:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 05:42:30 +0000 (07:42 +0200)
commitebeacb1f612db22020561211c21b4d966cf7ca24
tree2d7d5ab9bb182ccd160f51af2e26ae203b671252
parent8f0c714ad9be1ef774c98e8819a7a571451cb019
media: staging: tegra-vde: Power-cycle hardware on probe

VDE partition is left turned ON after bootloader on most devices, hence
let's ensure that it's turned OFF in order to lower power leakage while
hardware is idling by turning it ON and OFF during of the driver's probe.

Signed-off-by: Dmitry Osipenko <digetx@gmail.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