Re: [PATCH v19 05/13] media: mediatek: jpeg: Fix multi-core clk suspend and resume setting
From: AngeloGioacchino Del Regno
Date: Tue Nov 17 2026 - 06:33:03 EST
On 11/16/26 02:33, Kyrie Wu wrote:
Make multi-hw component devices own their clocks and suspend callbacks.
Keep single-core clock callbacks on the master device.
Stop new jobs and wait for the active job with v4l2_m2m_suspend()
before disabling component clocks. Runtime-PM references keep clocks
enabled until job completion or timeout.
Fixes: 934e8bccac95 ("mtk-jpegenc: support jpegenc multi-hardware")
Fixes: 0fa49df4222f ("media: mtk-jpegdec: support jpegdec multi-hardware")
Signed-off-by: Kyrie Wu <kyrie.wu@xxxxxxxxxxxx>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>