Re: [PATCH v6 25/42] drm/mediatek: mtk_hdmi: Move CEC device parsing in new function

2025-02-13 Thread 胡俊光

Re: [PATCH v6 25/42] drm/mediatek: mtk_hdmi: Move CEC device parsing in new function

2025-02-13 Thread AngeloGioacchino Del Regno
Il 13/02/25 08:42, CK Hu (胡俊光) ha scritto: On Tue, 2025-02-11 at 12:33 +0100, AngeloGioacchino Del Regno wrote: External email : Please do not click links or open attachments until you have verified the sender or the content. Move the CEC device parsing logic to a new function called mtk_hdmi

Re: [PATCH v6 25/42] drm/mediatek: mtk_hdmi: Move CEC device parsing in new function

2025-02-12 Thread 胡俊光

[PATCH v6 25/42] drm/mediatek: mtk_hdmi: Move CEC device parsing in new function

2025-02-11 Thread AngeloGioacchino Del Regno
Move the CEC device parsing logic to a new function called mtk_hdmi_get_cec_dev(), and move the parsing action to the end of mtk_hdmi_dt_parse_pdata(), allowing to remove gotos in this function, reducing code size and improving readability. Signed-off-by: AngeloGioacchino Del Regno --- drivers/