]> git.baikalelectronics.ru Git - kernel.git/commit
media: amphion: support for reloading module
authorMing Qian <ming.qian@nxp.com>
Tue, 17 May 2022 08:01:16 +0000 (09:01 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:31 +0000 (10:30 +0100)
commit97e7f97dd30d2054eeecfb4c832c9d4f0f72fa9f
tree25ced3bf464d0a9aa0765874be70ec62503a48d3
parentf29ca55b1b4eb441c74bd188d0a6ebbeda72d857
media: amphion: support for reloading module

As there is no interface to power off vpu core.
So it need to boot from cold on first load.
but on the second load, driver need to restore the status
instead of booting.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/vpu_core.c