[PATCH v19 05/13] media: mediatek: jpeg: Fix multi-core clk suspend and resume setting
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Nov 17 03:32:56 PST 2026
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 at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list