]> git.baikalelectronics.ru Git - kernel.git/commit
media: venus: core: add shutdown callback for venus
authorMansur Alisha Shaik <mansur@codeaurora.org>
Thu, 24 Sep 2020 06:59:46 +0000 (08:59 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Nov 2020 05:55:20 +0000 (06:55 +0100)
commitc287629eab07682cd230058810ec8baff6e9eb90
tree4a45af777b38483f9c7f970ced5c1fb1b3037fba
parentec5e0741fb581337c8ff7f73ecb2bf1b2ae7db77
media: venus: core: add shutdown callback for venus

After the SMMU translation is disabled in the
arm-smmu shutdown callback during reboot, if
any subsystem are still alive then IOVAs they
are using will become PAs on bus, which may
lead to crash.

So implemented shutdown callback, which detach iommu maps.

Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.c