aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-09-25 15:17:05 -0400
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-04 17:32:42 +0200
commitec95ae226f240ed657834fe4114abb7067e1af2d (patch)
tree35203bf84ad3b098ed171a6570d7f0b131f2ba85 /scripts/Makefile.thinlto
parentmedia: rockchip: rga: fix rotation on rev0 hardware (diff)
media: amphion: drain message work before releasing core state
vpu_core_unregister() frees core->msg_buffer before cancelling the message workers, although core->msg_fifo still uses the buffer as its backing storage. A queued worker can read it after it has been freed. Drain the core and instance message work first, then release core->vpu and the FIFO buffer. This follows the ordering in vpu_core_suspend(). Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Cc: stable@vger.kernel.org Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Reviewed-by: Ming Qian <ming.qian@oss.nxp.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions