On Wed Nov 11, 2026 at 10:48 AM CET, Xiangwu Lai wrote:
> analogix_dp_init_analog_func() cannot fail: since commit 917c8d192ba6ad
> ("drm/bridge: analogix_dp: don't wait for PLL lock too early") removed
> the PLL lock polling loop, the function only performs register writes
> and always returns 0.  The error check on its return value in
> analogix_dp_set_bridge() is therefore dead code.
>
> Drop the dead check and make the function void.
>
> Signed-off-by: Xiangwu Lai <[email protected]>

Reviewed-by: Luca Ceresoli <[email protected]>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Reply via email to