]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: chips-media: wave5: Fix a hang after seeking
authorJackson.lee <jackson.lee@chipsnmedia.com>
Tue, 17 Dec 2024 04:51:24 +0000 (13:51 +0900)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Feb 2025 10:18:42 +0000 (11:18 +0100)
commita2c75e964e51b096e9fe6adfa3eaed53594a668b
tree15a17e04544b7494992c7564525a1b0985d9161a
parentac35f768986610480a1c01323d9cf9f5eaf3ee9b
media: chips-media: wave5: Fix a hang after seeking

While seeking, the driver calls the flush command. Before the flush
command is sent to the VPU, the driver should handle the display buffer
flags and should get all decoded information from the VPU if the VCORE
is running.

Fixes: 9707a6254a8a ("media: chips-media: wave5: Add the v4l2 layer")
Cc: stable@vger.kernel.org
Signed-off-by: Jackson.lee <jackson.lee@chipsnmedia.com>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
drivers/media/platform/chips-media/wave5/wave5-vpuapi.c