Il 12/11/21 11:55, Yong Wu ha scritto:
MediaTek IOMMU has already added device_link between the consumer and smi-larb device. If the jpg device call the pm_runtime_get_sync, the smi-larb's pm_runtime_get_sync also be called automatically. After removing the larb_get operations, then mtk_jpeg_clk_init is also unnecessary. Remove it too. CC: Rick Chang <rick.chang@xxxxxxxxxxxx> CC: Xia Jiang <xia.jiang@xxxxxxxxxxxx> Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx> Reviewed-by: Evan Green <evgreen@xxxxxxxxxxxx> Acked-by: Rick Chang <rick.chang@xxxxxxxxxxxx> Reviewed-by: Dafna Hirschfeld <dafna.hirschfeld@xxxxxxxxxxxxx> Tested-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx> # BPI-R2/MT7623
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>