Skip to content

Commit ccffeae

Browse files
committed
Merge branch 'v5.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/fixes
* 'v5.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux: soc: mediatek: cmdq: return send msg error code arm64: dts: mt8173: fix vcodec-enc clock Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents ed9dc1d + 34c4e40 commit ccffeae

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

arch/arm64/boot/dts/mediatek/mt8173.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,8 +1402,8 @@
14021402
"venc_lt_sel";
14031403
assigned-clocks = <&topckgen CLK_TOP_VENC_SEL>,
14041404
<&topckgen CLK_TOP_VENC_LT_SEL>;
1405-
assigned-clock-parents = <&topckgen CLK_TOP_VENCPLL_D2>,
1406-
<&topckgen CLK_TOP_UNIVPLL1_D2>;
1405+
assigned-clock-parents = <&topckgen CLK_TOP_VCODECPLL>,
1406+
<&topckgen CLK_TOP_VCODECPLL_370P5>;
14071407
};
14081408

14091409
jpegdec: jpegdec@18004000 {

drivers/soc/mediatek/mtk-cmdq-helper.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,9 @@ int cmdq_pkt_flush_async(struct cmdq_pkt *pkt, cmdq_async_flush_cb cb,
351351
spin_unlock_irqrestore(&client->lock, flags);
352352
}
353353

354-
mbox_send_message(client->chan, pkt);
354+
err = mbox_send_message(client->chan, pkt);
355+
if (err < 0)
356+
return err;
355357
/* We can send next packet immediately, so just call txdone. */
356358
mbox_client_txdone(client->chan, 0);
357359

0 commit comments

Comments
 (0)