Re: [PATCH] phy: mediatek: mt8195: Check PLL driver setting return value
From: Manivannan Sadhasivam
Date: Sun Nov 15 2026 - 14:56:38 EST
On 2026-11-02 07:21 +0000, Sreeraj S Kurup wrote:
> The mtk_hdmi_pll_drv_setting() function can return -EINVAL when
> the requested pixel clock is outside its supported range.
>
> Currently, mtk_hdmi_pll_prepare() ignores this return value and
> continues with PLL initialization even when the driver settings
> fail.
>
> Check the return value and abort PLL preparation on failure to
> avoid powering up the PLL with invalid driver settings.
>
> Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@xxxxxxxxx>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
- Mani